218 lines
6.3 KiB
JSON
218 lines
6.3 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "component-emitter@^1.2.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "component-emitter",
|
||
|
"name": "component-emitter",
|
||
|
"rawSpec": "^1.2.0",
|
||
|
"spec": ">=1.2.0 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/superagent"
|
||
|
]
|
||
|
],
|
||
|
"_from": "component-emitter@>=1.2.0 <2.0.0",
|
||
|
"_id": "component-emitter@1.2.1",
|
||
|
"_inCache": true,
|
||
|
"_location": "/component-emitter",
|
||
|
"_nodeVersion": "0.12.4",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "packages-12-west.internal.npmjs.com",
|
||
|
"tmp": "tmp/component-emitter-1.2.1.tgz_1461005707641_0.14232611074112356"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "nami-doc",
|
||
|
"email": "karp@hotmail.fr"
|
||
|
},
|
||
|
"_npmVersion": "2.10.1",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "component-emitter@^1.2.0",
|
||
|
"scope": null,
|
||
|
"escapedName": "component-emitter",
|
||
|
"name": "component-emitter",
|
||
|
"rawSpec": "^1.2.0",
|
||
|
"spec": ">=1.2.0 <2.0.0",
|
||
|
"type": "range"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/superagent"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz",
|
||
|
"_shasum": "137918d6d78283f7df7a6b7c5a63e140e69425e6",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "component-emitter@^1.2.0",
|
||
|
"_where": "/Volumes/2009-SSD/GT2/GT2-iOS/node_modules/superagent",
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/component/emitter/issues"
|
||
|
},
|
||
|
"component": {
|
||
|
"scripts": {
|
||
|
"emitter/index.js": "index.js"
|
||
|
}
|
||
|
},
|
||
|
"dependencies": {},
|
||
|
"description": "Event emitter",
|
||
|
"devDependencies": {
|
||
|
"mocha": "*",
|
||
|
"should": "*"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"shasum": "137918d6d78283f7df7a6b7c5a63e140e69425e6",
|
||
|
"tarball": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz"
|
||
|
},
|
||
|
"files": [
|
||
|
"index.js",
|
||
|
"LICENSE"
|
||
|
],
|
||
|
"gitHead": "187492ab8028c7221b589bdfd482b715149cd868",
|
||
|
"homepage": "https://github.com/component/emitter#readme",
|
||
|
"license": "MIT",
|
||
|
"main": "index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "tootallnate",
|
||
|
"email": "nathan@tootallnate.net"
|
||
|
},
|
||
|
{
|
||
|
"name": "hughsk",
|
||
|
"email": "hughskennedy@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "trevorgerhardt",
|
||
|
"email": "trevorgerhardt@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "timaschew",
|
||
|
"email": "timaschew@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "tjholowaychuk",
|
||
|
"email": "tj@vision-media.ca"
|
||
|
},
|
||
|
{
|
||
|
"name": "rauchg",
|
||
|
"email": "rauchg@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "retrofox",
|
||
|
"email": "rdsuarez@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "coreh",
|
||
|
"email": "thecoreh@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "forbeslindesay",
|
||
|
"email": "forbes@lindesay.co.uk"
|
||
|
},
|
||
|
{
|
||
|
"name": "kelonye",
|
||
|
"email": "kelonyemitchel@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "mattmueller",
|
||
|
"email": "mattmuelle@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "yields",
|
||
|
"email": "yields@icloud.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "anthonyshort",
|
||
|
"email": "antshort@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "jongleberry",
|
||
|
"email": "jonathanrichardong@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "ianstormtaylor",
|
||
|
"email": "ian@ianstormtaylor.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "cristiandouce",
|
||
|
"email": "cristian@gravityonmars.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "swatinem",
|
||
|
"email": "arpad.borsos@googlemail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "stagas",
|
||
|
"email": "gstagas@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "amasad",
|
||
|
"email": "amjad.masad@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "juliangruber",
|
||
|
"email": "julian@juliangruber.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "calvinfo",
|
||
|
"email": "calvin@calv.info"
|
||
|
},
|
||
|
{
|
||
|
"name": "dominicbarnes",
|
||
|
"email": "dominic@dbarnes.info"
|
||
|
},
|
||
|
{
|
||
|
"name": "blakeembrey",
|
||
|
"email": "hello@blakeembrey.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "timoxley",
|
||
|
"email": "secoif@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "jonathanong",
|
||
|
"email": "jonathanrichardong@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "queckezz",
|
||
|
"email": "fabian.eichenberger@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "nami-doc",
|
||
|
"email": "vendethiel@hotmail.fr"
|
||
|
},
|
||
|
{
|
||
|
"name": "clintwood",
|
||
|
"email": "clint@anotherway.co.za"
|
||
|
},
|
||
|
{
|
||
|
"name": "thehydroimpulse",
|
||
|
"email": "dnfagnan@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "stephenmathieson",
|
||
|
"email": "me@stephenmathieson.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "dfcreative",
|
||
|
"email": "df.creative@gmail.com"
|
||
|
},
|
||
|
{
|
||
|
"name": "defunctzombie",
|
||
|
"email": "shtylman@gmail.com"
|
||
|
}
|
||
|
],
|
||
|
"name": "component-emitter",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "# Emitter [![Build Status](https://travis-ci.org/component/emitter.png)](https://travis-ci.org/component/emitter)\r\n\r\n Event emitter component.\r\n\r\n## Installation\r\n\r\n```\r\n$ component install component/emitter\r\n```\r\n\r\n## API\r\n\r\n### Emitter(obj)\r\n\r\n The `Emitter` may also be used as a mixin. For example\r\n a \"plain\" object may become an emitter, or you may\r\n extend an existing prototype.\r\n\r\n As an `Emitter` instance:\r\n\r\n```js\r\nvar Emitter = require('emitter');\r\nvar emitter = new Emitter;\r\nemitter.emit('something');\r\n```\r\n\r\n As a mixin:\r\n\r\n```js\r\nvar Emitter = require('emitter');\r\nvar user = { name: 'tobi' };\r\nEmitter(user);\r\n\r\nuser.emit('im a user');\r\n```\r\n\r\n As a prototype mixin:\r\n\r\n```js\r\nvar Emitter = require('emitter');\r\nEmitter(User.prototype);\r\n```\r\n\r\n### Emitter#on(event, fn)\r\n\r\n Register an `event` handler `fn`.\r\n\r\n### Emitter#once(event, fn)\r\n\r\n Register a single-shot `event` handler `fn`,\r\n removed immediately after it is invoked the\r\n first time.\r\n\r\n### Emitter#off(event, fn)\r\n\r\n * Pass `event` and `fn` to remove a listener.\r\n * Pass `event` to remove all listeners on that event.\r\n * Pass nothing to remove all listeners on all events.\r\n\r\n### Emitter#emit(event, ...)\r\n\r\n Emit an `event` with variable option args.\r\n\r\n### Emitter#listeners(event)\r\n\r\n Return an array of callbacks, or an empty array.\r\n\r\n### Emitter#hasListeners(event)\r\n\r\n Check if this emitter has `event` handlers.\r\n\r\n## License\r\n\r\nMIT\r\n",
|
||
|
"readmeFilename": "Readme.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/component/emitter.git"
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "make test"
|
||
|
},
|
||
|
"version": "1.2.1"
|
||
|
}
|