UNPKG

layaair2-cmd

Version:

layaair version 2 toolkit

123 lines (122 loc) 6.04 kB
{ "_args": [ [ { "raw": "sparkles@^1.0.0", "scope": null, "escapedName": "sparkles", "name": "sparkles", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\glogg" ] ], "_from": "sparkles@>=1.0.0 <2.0.0", "_id": "sparkles@1.0.1", "_inCache": true, "_location": "/sparkles", "_nodeVersion": "8.11.1", "_npmOperationalInternal": { "host": "s3://npm-registry-packages", "tmp": "tmp/sparkles_1.0.1_1526266664297_0.09154957041809064" }, "_npmUser": { "name": "phated", "email": "blaine.bublitz@gmail.com" }, "_npmVersion": "5.6.0", "_phantomChildren": {}, "_requested": { "raw": "sparkles@^1.0.0", "scope": null, "escapedName": "sparkles", "name": "sparkles", "rawSpec": "^1.0.0", "spec": ">=1.0.0 <2.0.0", "type": "range" }, "_requiredBy": [ "/glogg", "/has-gulplog" ], "_resolved": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz", "_shasum": "008db65edce6c50eec0c5e228e1945061dd0437c", "_shrinkwrap": null, "_spec": "sparkles@^1.0.0", "_where": "E:\\Mine\\Project\\git\\laya\\dawawa\\layaairdoc_cmd\\node_modules\\glogg", "author": { "name": "Gulp Team", "email": "team@gulpjs.com", "url": "http://gulpjs.com/" }, "bugs": { "url": "https://github.com/gulpjs/sparkles/issues" }, "contributors": [ { "name": "Blaine Bublitz", "email": "blaine.bublitz@gmail.com" } ], "dependencies": {}, "description": "Namespaced global event emitter", "devDependencies": { "eslint": "^2.13.0", "eslint-config-gulp": "^3.0.1", "expect": "^1.20.2", "istanbul": "^0.4.3", "istanbul-coveralls": "^1.0.3", "mocha": "^3.5.3" }, "directories": {}, "dist": { "integrity": "sha512-dSO0DDYUahUt/0/pD/Is3VIm5TGJjludZ0HVymmhYF6eNA53PVLhnUk0znSYbH8IYBuJdCE+1luR22jNLMaQdw==", "shasum": "008db65edce6c50eec0c5e228e1945061dd0437c", "tarball": "https://registry.npmjs.org/sparkles/-/sparkles-1.0.1.tgz", "fileCount": 4, "unpackedSize": 4853, "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa+PsoCRA9TVsSAnZWagAAU8MQAKMIJ/HDcvLyhzC+ZnRM\n0X2LfoiOWyDSSHck/Lu/VTAGV5J6N3H53L8gLsesO8ukSGtgNANRxjRtk5Mr\noaiLczXKiGKMIIQZryk/NJmClViO8/oS3uiYoZBSRbZZsl5kbjtubn3g0i2l\n/smS+JW7BOHhn3VzctZshFqs7XKqvD008H56qnTmVrs+px4Fsu/eD4UZEFm+\nSPo9O9mBlvh3lTGEi1xvFWXdEfrnyfRp5qP7HxctN1S+TfuLgxGK2k8DZB2d\neiwfJvqqiIK3fUxly9mBDFqCYXGlXQfYdtSrTmoAhHvs7J6ieHW4Hj41KkXu\nCN4lQz4dcAXj0NY+W4ToraFv6L9j2n/Fa1zrLckcqsnXI+GKjZw/RsV8wcY3\nGl7XjMGTWwSQ1QWIaOli7GDhUrUePVAQs9oBYw7A3hoQAA1AfRWTp1TrApHe\nYvLggtZLUGaxfeXp2Z8Wz+qcjeMuMHmARWJIqVSTmMyzeL7+34N4p9FP4c4I\nGZv4ExNWUOuMuhmV0/4HklynH7jlI/SM6fOcbSiCF+dJS1rnTEqNuwYD4ZMC\nfL4TixyaSR/Ir43WeqjR+lqsWOKshS+sg5J+O0isbjWoF3o1JcvtV7Te4Adn\nyVD++g1jzp34jR5XqnUCvIN0DxxDUFeUyt3Sm8H+eYeHaxm0N8BZJiBZkerM\nSTbS\r\n=YJMn\r\n-----END PGP SIGNATURE-----\r\n" }, "engines": { "node": ">= 0.10" }, "files": [ "LICENSE", "index.js" ], "gitHead": "da22dc644d2ec25da634b5a161881bef1e3a0ff1", "homepage": "https://github.com/gulpjs/sparkles#readme", "keywords": [ "ee", "emitter", "events", "global", "namespaced" ], "license": "MIT", "main": "index.js", "maintainers": [ { "name": "phated", "email": "blaine@iceddev.com" } ], "name": "sparkles", "optionalDependencies": {}, "readme": "<p align=\"center\">\n <a href=\"http://gulpjs.com\">\n <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n </a>\n</p>\n\n# sparkles\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Travis Build Status][travis-image]][travis-url] [![AppVeyor Build Status][appveyor-image]][appveyor-url] [![Coveralls Status][coveralls-image]][coveralls-url] [![Gitter chat][gitter-image]][gitter-url]\n\nNamespaced global event emitter\n\n## Usage\n\nSparkles exports a function that returns a singleton `EventEmitter`.\nThis EE can be shared across your application, whether or not node loads\nmultiple copies.\n\n```js\nvar sparkles = require('sparkles')(); // make sure to call the function\n\nsparkles.on('my-event', function(evt){\n console.log('my-event handled', evt);\n});\n\nsparkles.emit('my-event', { my: 'event' });\n```\n\n## API\n\n### sparkles(namespace)\n\nReturns an EventEmitter that is shared amongst the provided namespace. If no namespace\nis provided, returns a default EventEmitter.\n\n### sparkles.exists(namespace);\n\nChecks whether a namespace exists and returns true or false.\n\n## Why the name?\n\nThis is a \"global emitter\"; shortened: \"glitter\" but it was already taken; so we got sparkles instead :smile:\n\n## License\n\nMIT\n\n[downloads-image]: http://img.shields.io/npm/dm/sparkles.svg\n[npm-url]: https://www.npmjs.com/package/sparkles\n[npm-image]: http://img.shields.io/npm/v/sparkles.svg\n\n[travis-url]: https://travis-ci.org/gulpjs/sparkles\n[travis-image]: http://img.shields.io/travis/gulpjs/sparkles.svg?label=travis-ci\n\n[appveyor-url]: https://ci.appveyor.com/project/gulpjs/sparkles\n[appveyor-image]: https://img.shields.io/appveyor/ci/gulpjs/sparkles.svg?label=appveyor\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/sparkles\n[coveralls-image]: http://img.shields.io/coveralls/gulpjs/sparkles/master.svg\n\n[gitter-url]: https://gitter.im/gulpjs/gulp\n[gitter-image]: https://badges.gitter.im/gulpjs/gulp.svg\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/gulpjs/sparkles.git" }, "scripts": { "cover": "istanbul cover _mocha --report lcovonly", "coveralls": "npm run cover && istanbul-coveralls", "lint": "eslint .", "pretest": "npm run lint", "test": "mocha --async-only" }, "version": "1.0.1" }