File: D:/HostingSpaces/SBogers10/helder.komma.pro/node_modules/fsevents/node_modules/wrappy/package.json
{
"_args": [
[
"wrappy@1.0.2",
"/Users/eshanker/Code/fsevents"
]
],
"_from": "wrappy@1.0.2",
"_id": "wrappy@1.0.2",
"_inBundle": false,
"_integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"_location": "/fsevents/wrappy",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "wrappy@1.0.2",
"name": "wrappy",
"escapedName": "wrappy",
"rawSpec": "1.0.2",
"saveSpec": null,
"fetchSpec": "1.0.2"
},
"_requiredBy": [
"/fsevents/inflight",
"/fsevents/once"
],
"_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"_shrinkwrap": null,
"_spec": "1.0.2",
"_where": "/Users/eshanker/Code/fsevents",
"author": {
"name": "Isaac Z. Schlueter",
"email": "i@izs.me",
"url": "http://blog.izs.me/"
},
"bugs": {
"url": "https://github.com/npm/wrappy/issues"
},
"dependencies": {},
"description": "Callback wrapping utility",
"devDependencies": {
"tap": "^2.3.1"
},
"directories": {
"test": "test"
},
"files": [
"wrappy.js"
],
"homepage": "https://github.com/npm/wrappy",
"license": "ISC",
"main": "wrappy.js",
"name": "wrappy",
"optionalDependencies": {},
"readme": "# wrappy\n\nCallback wrapping utility\n\n## USAGE\n\n```javascript\nvar wrappy = require(\"wrappy\")\n\n// var wrapper = wrappy(wrapperFunction)\n\n// make sure a cb is called only once\n// See also: http://npm.im/once for this specific use case\nvar once = wrappy(function (cb) {\n var called = false\n return function () {\n if (called) return\n called = true\n return cb.apply(this, arguments)\n }\n})\n\nfunction printBoo () {\n console.log('boo')\n}\n// has some rando property\nprintBoo.iAmBooPrinter = true\n\nvar onlyPrintOnce = once(printBoo)\n\nonlyPrintOnce() // prints 'boo'\nonlyPrintOnce() // does nothing\n\n// random property is retained!\nassert.equal(onlyPrintOnce.iAmBooPrinter, true)\n```\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/npm/wrappy.git"
},
"scripts": {
"test": "tap --coverage test/*.js"
},
"version": "1.0.2"
}