{"_id":"axn","_rev":"25-d1ecda2f3c6cbd28dd11a377edd41d6d","name":"axn","description":"Minimalist listenable actions.","dist-tags":{"latest":"1.7.0"},"versions":{"1.0.0":{"name":"axn","version":"1.0.0","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","licenses":{"type":"MIT","url":"https://github.com/pluma/axn/blob/master/LICENSE"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^1.21.5","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"testling":{"files":"spec/*.js","harness":"mocha","browsers":["chrome/latest","chrome/canary","firefox/3.6..4","firefox/latest","firefox/nightly","opera/10","opera/latest","opera/next","safari/4..latest","ie/6..latest"]},"gitHead":"1fc3d0c3c2c6edbe3fe9ec8288e5fd2e4113f111","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.0.0","_shasum":"c836e6fdb1e519b5df1cb540590292a573dcf5a8","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"c836e6fdb1e519b5df1cb540590292a573dcf5a8","tarball":"https://registry.npmjs.org/axn/-/axn-1.0.0.tgz","integrity":"sha512-IElEDpddqFz1ch7nmVeRvWj0uNUnLPlFitfGLQsf3QDEggvAK6ol+BiXLYEwdURD5OWl7CaovglwBttXQ+17fQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6zBE7rcr09ODkcGTt3MkRCD3fxS2GfGdxXp6Ekj4WJAIgHINTZ7AI6uVHlScQ972xYK5qafzwb/51XXVk6odmNEI="}]}},"1.1.0":{"name":"axn","version":"1.1.0","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","licenses":{"type":"MIT","url":"https://github.com/pluma/axn/blob/master/LICENSE"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^1.21.5","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"testling":{"files":"spec/*.js","harness":"mocha","browsers":["chrome/latest","chrome/canary","firefox/3.6..4","firefox/latest","firefox/nightly","opera/10","opera/latest","opera/next","safari/4..latest","ie/6..latest"]},"gitHead":"929aa7b7636295b20dfbcacb21eb94ea2403cc03","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.1.0","_shasum":"1925883294175742b93bb9c8302c4f89690e7810","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"1925883294175742b93bb9c8302c4f89690e7810","tarball":"https://registry.npmjs.org/axn/-/axn-1.1.0.tgz","integrity":"sha512-azWn4apPfOUJWqzSOD1xc+DUSR2rd+OI7CBVacUCUqH/q18L8MuCNaQnj39tVgdGYUlo6IFq2iae/UZPlfHmBw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA+XIVkG99BQMJ+cg4b+qcOnef2XQVpmki9FiL1nvOy4AiAiGvDzJA5eDITI48hDl3Oge0aSPo+ZESC3WBwyUnlm9Q=="}]}},"1.2.0":{"name":"axn","version":"1.2.0","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","licenses":{"type":"MIT","url":"https://github.com/pluma/axn/blob/master/LICENSE"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^1.21.5","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"testling":{"files":"spec/*.js","harness":"mocha","browsers":["chrome/latest","chrome/canary","firefox/3.6..4","firefox/latest","firefox/nightly","opera/10","opera/latest","opera/next","safari/4..latest","ie/6..latest"]},"gitHead":"22e6479b8ba1cbe33d743a63a0f4f97047e097ac","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.2.0","_shasum":"e07153f533b3ab9e97b27a0ea8dbab5e6bd979d7","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"e07153f533b3ab9e97b27a0ea8dbab5e6bd979d7","tarball":"https://registry.npmjs.org/axn/-/axn-1.2.0.tgz","integrity":"sha512-OMUXlinKMIKiCjdoaw7XurJE6V32uPqb7/RSZS68ST5EmlQueOSnKdKDmefE7izEs/K+z/a6UPdSBPxY6HV9rQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUP/sQni1mOkFWgXvq6bSOP42zgaHgvhacwhUYN1QmwwIgIqKkvw/g5XITEEhGrVoawz3nq0e29xm3Z2AETA8xiE4="}]}},"1.2.1":{"name":"axn","version":"1.2.1","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","licenses":{"type":"MIT","url":"https://github.com/pluma/axn/blob/master/LICENSE"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^1.21.5","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"testling":{"files":"spec/*.js","harness":"mocha","browsers":["chrome/latest","chrome/canary","firefox/3.6..4","firefox/latest","firefox/nightly","opera/10","opera/latest","opera/next","safari/4..latest","ie/6..latest"]},"gitHead":"098e3f06527fc9ac2b4c5d70065aa10c08cfe516","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.2.1","_shasum":"3309db65f74f0ef247265ccc56b4a0ca7e9c40a5","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"3309db65f74f0ef247265ccc56b4a0ca7e9c40a5","tarball":"https://registry.npmjs.org/axn/-/axn-1.2.1.tgz","integrity":"sha512-i26XicJHQzR4FcXIhQs9T4QRWk0LUTl9ahF/mrcDk38EgL6qYoUgo40c+c7HWIHR97rB7K5wsLqN97WDY2AMoQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo7bhkANlrSY32BXz1v4T3zisl1us1kuQUHPP7X2UXxgIgX3R8EYcFX6vdphcsXOL5xxoyEnoAufFAQ4WMCpEjlR8="}]}},"1.3.1":{"name":"axn","version":"1.3.1","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","licenses":{"type":"MIT","url":"https://github.com/pluma/axn/blob/master/LICENSE"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^1.21.5","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"testling":{"files":"spec/*.js","harness":"mocha","browsers":["chrome/latest","chrome/canary","firefox/3.6..4","firefox/latest","firefox/nightly","opera/10","opera/latest","opera/next","safari/4..latest","ie/6..latest"]},"gitHead":"01c115887e6fb2ce16e392325c3705341d20340e","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.3.1","_shasum":"80d2fbe19e708236f0662995fb261064df17c00f","_from":".","_npmVersion":"2.0.2","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"80d2fbe19e708236f0662995fb261064df17c00f","tarball":"https://registry.npmjs.org/axn/-/axn-1.3.1.tgz","integrity":"sha512-WOQMfAiX/8izDxSqxD+SWcUoEPEZn+BqbsVuBnMeesS7GIpAbbUUK1F+FsKJJs+oL4JeAnbXquHZrc0O+NGBPQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrx51moF0xvGrZTHAdgaQ+CjO5VUehKo0PAM36SCHDvAiAJq5o0Ekjx2RpoHr3G0uDC16ovtfAiTmP0GzdkfsXG8Q=="}]}},"1.3.2":{"name":"axn","version":"1.3.2","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","license":"MIT","repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^2.0.1","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"testling":{"files":"spec/*.js","harness":"mocha","browsers":["chrome/latest","chrome/canary","firefox/3.6..4","firefox/latest","firefox/nightly","opera/10","opera/latest","opera/next","safari/4..latest","ie/6..latest"]},"gitHead":"0f395b052cd9bbf48c3ddba15ce68f3901df1cae","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.3.2","_shasum":"0028f5a06796fe2268bafa318ca2da607729dc77","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"0028f5a06796fe2268bafa318ca2da607729dc77","tarball":"https://registry.npmjs.org/axn/-/axn-1.3.2.tgz","integrity":"sha512-yUS4wQKYGR5/wp6J0wrBOBLiqjm+6Lh9RDOJVsW+gbF4PPExdJ8HgR2NzndDEoxaDbiM6uHcYQByc1VZ05X0wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwMiny7XluevXBbBNlwYxkO9jXSXH1Lhlt/ofKNnWBVQIhAOPNyqhTfQ//cgrhjoC/RBV+q1opLegzegRSSz/lLGi8"}]}},"1.4.0":{"name":"axn","version":"1.4.0","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","license":"MIT","repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^2.0.1","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"gitHead":"a29dbcfb87e15e8e525b7de14a047994bb516a03","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.4.0","_shasum":"e18386846cf714167dad0d2a3ec1138b0529c246","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"e18386846cf714167dad0d2a3ec1138b0529c246","tarball":"https://registry.npmjs.org/axn/-/axn-1.4.0.tgz","integrity":"sha512-f/Zc8tOYqNnEmfJFLdioCiEAXCwCZTO7oJho71GV5pbX6D+5i6xPp5rqc50bze7byrW96V6+RhZFcQFFEoz+Rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHrOyEfYVQUNmy53XDUOykdAaRA7et60x5Er4tHBn7DZAiBpOr7OtXmbjVFj0jnVW2/N9rLQiHUFEr+VCNiaqPMbgg=="}]}},"1.5.0":{"name":"axn","version":"1.5.0","author":{"name":"Alan Plum","email":"me@pluma.io"},"description":"Minimalist listenable actions.","license":"MIT","repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"keywords":["action","events","emitter","signals"],"dependencies":{},"devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^2.0.1","uglify-js":"^2.4.15"},"main":"./index.js","scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"engines":{"node":">=0.6"},"gitHead":"80f75967e504530b1bbc0f23ce58444d45645240","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","_id":"axn@1.5.0","_shasum":"19fe4aa7d8a6a0d9d0a873a23c9bfb57907ed3db","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"19fe4aa7d8a6a0d9d0a873a23c9bfb57907ed3db","tarball":"https://registry.npmjs.org/axn/-/axn-1.5.0.tgz","integrity":"sha512-yoVcfWRVxasbAQhzlQ/o7SlT+aTkEYKGqyxNl+XM/NJrFhjKpeuzpc803sPo+6EI6fc3khhAhcVxEjspCXfMsw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBR4btXCPEJcFpEcjWTCd8mkVKP+9iJMVsWC7Sy0FZv+AiEAyUDgz0m+qnWiVqBxflkN4RAjy69AljrdAjTNbN7h1GQ="}]}},"1.6.0":{"name":"axn","version":"1.6.0","description":"Minimalist listenable actions.","main":"./index.js","keywords":["action","events","emitter","signals"],"files":["index.js","package.json","README.md","LICENSE"],"scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"author":{"name":"Alan Plum","email":"me@pluma.io"},"license":"MIT","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^2.0.1","uglify-js":"^2.4.15"},"dependencies":{},"gitHead":"8c863fc85c74c7646854da08db66a9b39c2f4669","_id":"axn@1.6.0","_shasum":"7e528903d5228f7a70939b502030e8035f491ed9","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"7e528903d5228f7a70939b502030e8035f491ed9","tarball":"https://registry.npmjs.org/axn/-/axn-1.6.0.tgz","integrity":"sha512-1FtMJEm7mBflWRrrBtGnskMEyW/zbfuUjPP8soV2hsJs88Y+N6IE2XmPToVjlIG5btpoRr7QTuCb+ko1+Reeqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXmpwxbAKG20U1HrXlrWHzpSODzGgl4VbV9V/0kaBK/wIgUsyAKQt3mvaOc7W8kXFqpgelQIZdcHbxx/hvTm7M2gU="}]}},"1.6.1":{"name":"axn","version":"1.6.1","description":"Minimalist listenable actions.","main":"./index.js","keywords":["action","events","emitter","signals"],"files":["index.js","package.json","README.md","LICENSE"],"scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"repository":{"type":"git","url":"https://github.com/pluma/axn.git"},"author":{"name":"Alan Plum","email":"me@pluma.io"},"license":"MIT","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^2.0.1","uglify-js":"^2.4.15"},"dependencies":{},"gitHead":"cf8834199d86394899fd51f1e15fbdf035be6a44","_id":"axn@1.6.1","_shasum":"247ca80a1812d194d8f4b55fdfff4efe26c470e1","_from":".","_npmVersion":"2.1.9","_nodeVersion":"0.10.25","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"247ca80a1812d194d8f4b55fdfff4efe26c470e1","tarball":"https://registry.npmjs.org/axn/-/axn-1.6.1.tgz","integrity":"sha512-TG47Pfrex55azXhIiVic4TBMrEQULbkD1oSFAx+cAj+oIKjthqSMKIKkUCK+7CJYro8CdgsEfabiz7oFSgvbPA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICJverO5j/QsqtFUHtSTN1cEHwOXKBBaIKYiVpWftOz2AiEA2+wXUQqvC3nYU0AuS0E9FpOYdJfP5GJGiSqYJ24bKiQ="}]}},"1.7.0":{"name":"axn","version":"1.7.0","description":"Minimalist listenable actions.","main":"./index.js","keywords":["action","events","emitter","signals"],"files":["index.js","package.json","README.md","LICENSE"],"scripts":{"lint":"jshint index.js test","test":"mocha --growl -R spec","cover":"npm run lint && istanbul cover --report lcov _mocha -- -R spec","coveralls":"npm run cover && cat ./coverage/lcov.info | coveralls ; rm -rf ./coverage","dist":"npm run cjs-min; npm run globals-min; npm run amd-min","cjs":"cp index.js dist/axn.js","cjs-min":"npm run cjs; uglifyjs dist/axn.js > dist/axn.min.js","globals":"cat templates/globals.before index.js templates/globals.after > dist/axn.globals.js","globals-min":"npm run globals; uglifyjs dist/axn.globals.js > dist/axn.globals.min.js","amd":"cat templates/amd.before index.js templates/amd.after > dist/axn.amd.js","amd-min":"npm run amd; uglifyjs dist/axn.amd.js > dist/axn.amd.min.js"},"repository":{"type":"git","url":"git+https://github.com/pluma/axn.git"},"author":{"name":"Alan Plum","email":"me@pluma.io"},"license":"MIT","bugs":{"url":"https://github.com/pluma/axn/issues"},"homepage":"https://github.com/pluma/axn","devDependencies":{"coveralls":"^2.11.2","expect.js":"^0.3.1","istanbul":"^0.3.2","jshint":"^2.5.6","mocha":"^2.0.1","uglify-js":"^2.4.15"},"dependencies":{},"gitHead":"f40e655554b0ce94420ce8a07693bc8243c8195d","_id":"axn@1.7.0","_shasum":"c945060c8ceb24c2e8bcbc7c2a363fe20d92bb0a","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.10.37","_npmUser":{"name":"pluma","email":"me@pluma.io"},"maintainers":[{"name":"pluma","email":"me@pluma.io"}],"dist":{"shasum":"c945060c8ceb24c2e8bcbc7c2a363fe20d92bb0a","tarball":"https://registry.npmjs.org/axn/-/axn-1.7.0.tgz","integrity":"sha512-i+i1RSkBsf1qngb61e/m1JOQupzc/lUdF31WzwBj70sdA3yFsJVguv37bug+tXGty6bqYHphjJB/jpw8ulfLUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEG5Nwmi97hNUO57hy4qbHAFHoINbprv6AEYsXbTG5siAiAnfQ/EaHN+/5PuVYI9V92Wn4gEoZi0Sih7op8YUbAZTQ=="}]}}},"readme":" Synopsis\n\n**axn** is a small-ish (~2.2 kB minified, 758 bytes gzipped) implementation of listenable actions or signals in JavaScript for browsers (IE8+) and the server.\n\n[![license - MIT](https://img.shields.io/npm/l/axn.svg)](http://pluma.mit-license.org) [![Dependencies](https://img.shields.io/david/pluma/axn.svg)](https://david-dm.org/pluma/axn)\n\n[![NPM status](https://nodei.co/npm/axn.png?compact=true)](https://npmjs.org/package/axn)\n\n[![Build Status](https://img.shields.io/travis/pluma/axn.svg)](https://travis-ci.org/pluma/axn) [![Coverage Status](https://img.shields.io/coveralls/pluma/axn.svg)](https://coveralls.io/r/pluma/axn?branch=master) [![Codacy rating](https://img.shields.io/codacy/18052d33b87d4f2fb42c79ab99152e9b.svg)](https://www.codacy.com/public/me_4/axn)\n\n# Install\n\n## Node.js\n\n### With NPM\n\n```sh\nnpm install axn\n```\n\n### From source\n\n```sh\ngit clone https://github.com/pluma/axn.git\ncd axn\nnpm install\nnpm run test && npm run dist\n```\n\n## Browser\n\n### With component\n\n```sh\ncomponent install pluma/axn\n```\n\n[Learn more about component](https://github.com/component/component).\n\n### With bower\n\n```sh\nbower install axn\n```\n\n[Learn more about bower](https://github.com/twitter/bower).\n\n### With a CommonJS module loader\n\nDownload the [latest minified CommonJS release](https://raw.github.com/pluma/axn/master/dist/axn.min.js) and add it to your project.\n\n[Learn more about CommonJS modules](http://wiki.commonjs.org/wiki/Modules/1.1).\n\n### With an AMD module loader\n\nDownload the [latest minified AMD release](https://raw.github.com/pluma/axn/master/dist/axn.amd.min.js) and add it to your project.\n\n[Learn more about AMD modules](http://requirejs.org/docs/whyamd.html).\n\n### As a standalone library\n\nDownload the [latest minified standalone release](https://raw.github.com/pluma/axn/master/dist/axn.globals.min.js) and add it to your project.\n\n```html\n<script src=\"/your/js/path/axn.globals.min.js\"></script>\n```\n\nThis makes the `axn` module available in the global namespace.\n\n# Examples\n\n```js\nimport axn from 'axn';\n\nlet action = axn();\n\nlet unlisten = action.listen(data => data.toUpperCase());\naction.listen((data, modified) => console.log('received data:', data, modified));\naction.listen(() => 42);\n\nlet result = action('hello'); // -> received data: hello HELLO\nresult === 42;\n\nunlisten();\naction('hello'); // -> received data: hello hello\n\nlet asyncAction = axn.async();\n\nasyncAction.listen(data => Promise.resolve(data.toUpperCase()));\n\nasyncAction('hello').then(result => console.log(result)); // -> HELLO\n```\n\n# API\n\n## axn([spec]):Function\n\nCreates a new action.\n\nIf `spec` is an object, its properties will be copied to the new action, overwriting its default properties.\n\n## action(data)\n\nInvokes the action's listeners in sequence with the given `data`. Returns the return value of the last listener called.\n\nIf passed more than one argument, the arguments will be passed on as an array.\n\nIn addition to `data`, each listener will be passed the return value of the previous listener as a second argument, or `data` if the listener is the first in the sequence.\n\n## action.listen(fn, [ctx]):Function\n\nAdds a given function to the action's listeners. If `ctx` is provided, the function will be invoked using it as its `this` context.\n\nReturns a function that will remove the listener from the action.\n\n## action.unlisten(fn, [ctx]):Boolean\n\nRemoves the given function with the given context from the action's listeners.\n\nReturns `true` if the listener was removed successfully, otherwise returns `false`.\n\n## action.listenOnce(fn, [ctx]):Function\n\nAdds a given function to the action's listeners. If `ctx` is provided, the function will be invoked using it as its `this` context.\n\nThe function will only be invoked once and then automatically removed from the action's listeners.\n\nReturns a function that will remove the listener from the action.\n\n## action.beforeEmit(data):data\n\nOverride this function in your action's `spec` to pre-process data passed to the action before it is emitted.\n\nThe return value will be passed to the action's listeners.\n\n## action.shouldEmit(data):Boolean\n\nOverride this function in your action's `spec` to define whether data should be emitted.\n\nThis function is passed the output of `beforeEmit`. If the function returns `false` or a non-truthy value, the data will not be emitted. Otherwise the action's listeners will be invoked as normally.\n\n## axn.methods\n\nAn object containing the default properties that will be copied to new actions.\n\n## axn.async([spec]):Function\n\nCreates a new async action.\n\nIf `spec` is an object, its properties will be copied to the new action, overwriting its default properties.\n\n**NOTE:** async actions use promises. `axn` uses the global `Promise` implementation defined by ES 2015. If you want to use async actions in environments that don't provide an ES2015-compatible `Promise` implementation, you need to make sure to use a polyfill like [es6-promise](https://www.npmjs.com/package/es6-promise). If you're not interested in async actions, you can ignore this section.\n\n## asyncAction(data):Promise\n\nInvokes the action's listeners in sequence with the given `data`. Returns a promise resolving to the return value of the last listener called (or rejected accordingly).\n\nIn addition to `data`, each listener will be passed the resolved value of the previous listener as a second argument, or `data` if the listener is the first in the sequence.\n\nThe promise returned by the action has two additional methods to allow aborting an action that is still in progress:\n\n## promise.cancel([message])\n\nCancels the action. Listeners that have not yet been invoked will no longer be called and the promise will be rejected with an error with the given message or `\"cancelled\"` if no message was provided.\n\n## promise.cancelled():Boolean\n\nReturns `true` if the action was cancelled or `false` otherwise.\n\nThis function can be used to determine whether a promise was rejected due to a regular error or because it was explicitly cancelled.\n\n## axn.async.methods\n\nAn object containing the default properties that will be copied to new async actions in addition to those in `axn.methods`.\n\n# License\n\nThe MIT/Expat license. For more information, see http://pluma.mit-license.org/ or the accompanying [LICENSE](https://github.com/pluma/axn/blob/master/LICENSE) file.\n","maintainers":[{"name":"pluma","email":"me@pluma.io"}],"time":{"modified":"2022-06-13T03:57:18.740Z","created":"2014-10-17T15:35:28.923Z","1.0.0":"2014-10-17T15:35:28.923Z","1.1.0":"2014-10-18T21:37:35.024Z","1.2.0":"2014-10-24T07:56:04.499Z","1.2.1":"2014-10-24T08:11:28.678Z","1.3.1":"2014-10-24T13:01:16.425Z","1.3.2":"2014-12-09T12:31:24.193Z","1.4.0":"2014-12-17T13:46:11.106Z","1.5.0":"2015-01-02T15:53:11.971Z","1.6.0":"2015-01-03T17:01:04.860Z","1.6.1":"2015-01-09T18:36:52.938Z","1.7.0":"2015-07-08T18:08:06.704Z"},"homepage":"https://github.com/pluma/axn","keywords":["action","events","emitter","signals"],"repository":{"type":"git","url":"git+https://github.com/pluma/axn.git"},"author":{"name":"Alan Plum","email":"me@pluma.io"},"bugs":{"url":"https://github.com/pluma/axn/issues"},"readmeFilename":"README.md","users":{},"license":"MIT"}