{"bugs":{"url":"https://github.com/FGRibreau/cancelable/issues"},"dist":{"shasum":"f6c8a4ffcd654fe302c1ce5702ebbb2536a9864b","tarball":"https://registry.npmjs.org/cancelable/-/cancelable-0.1.0.tgz","integrity":"sha512-sJ/xYq83bG8OmG+2Jp3Dma0tiWbh+97GVSHnYb342JLwSj+W3CqMyHxI3KR2NKVBB67GRE3ji4m8E9LHC1kZug==","signatures":[{"sig":"MEUCIQCQonae5T8BtSdSRs+VhaWnrpM+WbURwSbVbOQzoZjGZwIgbCGaQeOJ2pdXW2s34ARGZEPEBmNhWMAHZf8+uVQV2d4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"lib/cancelable","name":"cancelable","author":{"url":"http://fgribreau.com","name":"Francois-Guillaume Ribreau","email":"npm@fgribreau.com"},"readme":"# Cancelable [![Build Status](https://drone.io/github.com/FGRibreau/cancelable/status.png)](https://drone.io/github.com/FGRibreau/cancelable/latest)\n\nCancelable functions for JavaScript.\n\n## Getting Started\nInstall the module with: `npm install cancelable`\n\n## Examples\n\n```javascript\nvar Cancelable = require('cancelable');\nvar fn = Cancelable(function(){console.log('plop');});\nfn(); // print \"plop\"\nfn.cancel();\nfn(); // do nothing\n```\n\nCancelable is compatible with [Underscore](http://underscorejs.org/) and [Lodash](http://lodash.com/) as a mixin.\n\n```javascript\nvar _ = require('underscore');\n_.mixin(require('cancelable').exports());\nvar fn = _.cancelable(function(){console.log('plop');});\nfn(); // print \"plop\"\nfn.cancel();\nfn(); // do nothing\n```\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt](https://github.com/cowboy/grunt).\n\n## Release History\nv0.1.0 3/17/2013 Initial release.\n\n## License\nCopyright (c) 2013 Francois-Guillaume Ribreau\nLicensed under the MIT license.\n","engines":{"node":">= 0.6.0"},"scripts":{"test":"grunt test"},"_npmUser":{"name":"fgribreau","email":"npm@fgribreau.com"},"homepage":"https://github.com/FGRibreau/cancelable","keywords":["functions","underscore","lodash","cancelable"],"licenses":[{"url":"https://github.com/FGRibreau/cancelable/blob/master/LICENSE-MIT","type":"MIT"}],"repository":{"url":"git://github.com/FGRibreau/cancelable.git","type":"git"},"_npmVersion":"1.1.59","description":"Cancelable functions (Underscore/Lodash compatible)","maintainers":[{"name":"fgribreau","email":"npm@fgribreau.com"}],"devDependencies":{"grunt":"~0.3.15","lodash":"~1.0.1"},"_id":"cancelable@0.1.0","version":"0.1.0"}