motion
Version:
motion - moving development forward
73 lines (72 loc) • 3.62 kB
JSON
{
"_args": [
[
"deprecated@https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "deprecated@>=0.0.1 <0.0.2",
"_id": "deprecated@0.0.1",
"_inCache": true,
"_location": "/deprecated",
"_phantomChildren": {},
"_requested": {
"name": "deprecated",
"raw": "deprecated@https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"rawSpec": "https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"type": "remote"
},
"_requiredBy": [
"/gulp"
],
"_resolved": "https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"_shasum": "f9c9af5464afa1e7a971458a8bdef2aa94d5bb19",
"_shrinkwrap": null,
"_spec": "deprecated@https://registry.npmjs.org/deprecated/-/deprecated-0.0.1.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "contact@wearefractal.com",
"name": "Fractal",
"url": "http://wearefractal.com/"
},
"bugs": {
"url": "https://github.com/wearefractal/deprecated/issues"
},
"dependencies": {},
"description": "Tool for deprecating things",
"devDependencies": {
"coveralls": "~2.6.1",
"istanbul": "~0.2.3",
"jshint": "~2.4.1",
"mocha": "~1.17.0",
"mocha-lcov-reporter": "~0.0.1",
"rimraf": "~2.2.5",
"should": "~3.1.0"
},
"engines": {
"node": ">= 0.9"
},
"homepage": "http://github.com/wearefractal/deprecated",
"licenses": [
{
"type": "MIT",
"url": "http://github.com/wearefractal/deprecated/raw/master/LICENSE"
}
],
"main": "./index.js",
"name": "deprecated",
"optionalDependencies": {},
"readme": "# deprecated [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Dependency Status][david-image]][david-url]\n\n\n## Information\n\n<table>\n<tr> \n<td>Package</td><td>deprecated</td>\n</tr>\n<tr>\n<td>Description</td>\n<td>Tool for deprecating things</td>\n</tr>\n<tr>\n<td>Node Version</td>\n<td>>= 0.9</td>\n</tr>\n</table>\n\n## Usage\n\n```javascript\nvar oldfn = function(a,b) {\n return a+b;\n};\n\n// returns a new wrapper function that logs the deprecated function once\nvar somefn = deprecated('dont use this anymore', console.log, oldfn);\n\nvar someobj = {};\n\n// set up a getter/set for field that logs deprecated message once\ndeprecated('dont use this anymore', console.log, someobj, 'a', 123);\n\nconsole.log(someobj.a); // 123\n```\n\n[npm-url]: https://npmjs.org/package/deprecated\n[npm-image]: https://badge.fury.io/js/deprecated.png\n\n[travis-url]: https://travis-ci.org/wearefractal/deprecated\n[travis-image]: https://travis-ci.org/wearefractal/deprecated.png?branch=master\n\n[coveralls-url]: https://coveralls.io/r/wearefractal/deprecated\n[coveralls-image]: https://coveralls.io/repos/wearefractal/deprecated/badge.png\n\n[depstat-url]: https://david-dm.org/wearefractal/deprecated\n[depstat-image]: https://david-dm.org/wearefractal/deprecated.png\n\n[david-url]: https://david-dm.org/wearefractal/deprecated\n[david-image]: https://david-dm.org/wearefractal/deprecated.png?theme=shields.io",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git://github.com/wearefractal/deprecated.git"
},
"scripts": {
"coveralls": "istanbul cover _mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | coveralls && rm -rf ./coverage",
"test": "mocha --reporter spec && jshint"
},
"version": "0.0.1"
}