{"_id":"fseh","_rev":"43-32b01e35f550e43a1f14e4b6a40fb54d","name":"fseh","dist-tags":{"latest":"5.0.1"},"versions":{"1.0.0":{"name":"fseh","version":"1.0.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.0.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"9c63d682a3d6fd99074768e466854a117bf392e7","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.0.0.tgz","integrity":"sha512-RLG9NwZ+M6LWWIAdcz20gZkysuoEWgwbeObAOYe4N2a4Lw9mDysECVxGywZXeSzdJfTI72kx3VAuqOODh6iMBw==","signatures":[{"sig":"MEUCIAo40u2nfshAD3krqr5zPYSlbZO7kSxqqDswrZzN1QnGAiEA4/ITX08sy3/y2WftedIsl7DY338SYdI1gZFkOWwJT2Q=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run test:single && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"9c63d682a3d6fd99074768e466854a117bf392e7","gitHead":"71520a3b078082564a3d1a52e4c6e3ced3498dae","scripts":{"test":"mocha src/index.test.js -w","build":"tsc","commit":"git-cz","prebuild":"rimraf dist","test:single":"istanbul cover -x *.test.js _mocha -- -R spec src/index.test.js","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.6.0","devDependencies":{"chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","istanbul":"0.4.5","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.0.0.tgz_1474563435498_0.4732312858104706","host":"packages-16-east.internal.npmjs.com"}},"1.1.0":{"name":"fseh","version":"1.1.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.1.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"11ca1b19b6130b6eb4284c534f1730c3b80e0427","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.1.0.tgz","integrity":"sha512-a+fkWtA5LmankstTAFtmpwN2/GdfQzW4aSwUzPTJ6cIfoPuJmQAQQ0StTrJgSFcX1D4RdBW3Q64qEV0UgcDibQ==","signatures":[{"sig":"MEQCIGPBUKZzL+0vNvxROf7hXTbIZaIIThTYrwSfo39Uzds+AiBOTQfnRD7WYxtk+sxImAVHqAm1ts/TAacmJRP3uJRafQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run test:single && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"11ca1b19b6130b6eb4284c534f1730c3b80e0427","gitHead":"c616fa45abfbdb37c5a2c656532cf58d1233e9a4","scripts":{"test":"mocha src/index.test.js -w","build":"tsc","commit":"git-cz","prebuild":"rimraf dist","test:single":"istanbul cover -x *.test.js _mocha -- -R spec src/index.test.js","check-coverage":"istanbul check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.6.0","devDependencies":{"chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","istanbul":"0.4.5","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.1.0.tgz_1474615961414_0.8397436980158091","host":"packages-16-east.internal.npmjs.com"}},"1.2.0":{"name":"fseh","version":"1.2.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.2.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"285178978ed8e1d029e4c2b65a9c91cedef7f446","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.2.0.tgz","integrity":"sha512-SNCo7eb5txjFmRL1zjAoNZ7D1fsIkYkEhfaQscoIfS3BgL3gApqbHy+ENfYR83m8F+CiYtJ7HZNvsNFZ53+rAA==","signatures":[{"sig":"MEUCIQCKmd1YOewSGWZw13SppJMV2ahn4dztZdiRdFX+O2LG7wIgPlP3hi0jujzjbeTwdMOH0PPmkvBHO4DjOe38H7M4G88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"285178978ed8e1d029e4c2b65a9c91cedef7f446","gitHead":"b03fed42910603d8169a85b9012b55424a4cccbb","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.6.0","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.2.0.tgz_1474641170580_0.5143951512873173","host":"packages-16-east.internal.npmjs.com"}},"1.2.1":{"name":"fseh","version":"1.2.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.2.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"f73ddb6e4c116ae7b6189da2fde3f37a9abec30c","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.2.1.tgz","integrity":"sha512-fGHx2BjLrEvd98RfskMLSATDcu5FjyV53uJreqhpDmbYcnxC27NMrFgOHXd8k5IQukvD+OE2T/6SEG90UH0YEg==","signatures":[{"sig":"MEUCIB8+NYFFmJRooBL0bLxAPtkGpgLvSIOP6Dru3LImApMnAiEAwnwO7P34GM0L6wBugooFMgzJ29erTyXR1UBf6j+jgbI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"f73ddb6e4c116ae7b6189da2fde3f37a9abec30c","gitHead":"d740876ca860a7f1e8c1ff47d9021d1050eaa794","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.6.0","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.2.1.tgz_1474968002908_0.907434789231047","host":"packages-16-east.internal.npmjs.com"}},"1.3.0":{"name":"fseh","version":"1.3.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.3.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"1e3e2d28aef7f692d128e96ed51ac6a09316fc00","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.3.0.tgz","integrity":"sha512-qvhP2fkPx6fSzkIboB1eH0wV+HNBu2pWutMf2NhvGM8d1dSghad2m3EP5GXmrC2OXGes4ykrhMDnGx1HkW64kQ==","signatures":[{"sig":"MEYCIQCHXE1AYWQexPfErLpYXF/dPN7auIWytlRgWQO94YZG6wIhAJGqHm7GdqG9GFzoqnsLhCES6aUvEoirr/fdaz0Dtaey","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"1e3e2d28aef7f692d128e96ed51ac6a09316fc00","gitHead":"2e55f8cc7f52e6a7ba2f88fe4d0f0529044425f4","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.7.0","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.3.0.tgz_1475851024692_0.29563102847896516","host":"packages-12-west.internal.npmjs.com"}},"1.3.1":{"name":"fseh","version":"1.3.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.3.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"1d3eb5af6c533bb758065ba7b04435057a3085f4","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.3.1.tgz","integrity":"sha512-e/Ri+Md1FMGfdknZ1td7mSLOyQDzA2WVRLm45zp0nEGR6lfpG/9/12kmklJqTPwKE20RBhC+SBcck0RmXHvKwQ==","signatures":[{"sig":"MEYCIQCl50Ik8AXQG92/LxEYPB2BFrQtVFuEidq66ysfIwgAVwIhAMGrKpoWgbTizQIuUJLcX9kwaFRgiwRjYm2JYx+O/OEK","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"1d3eb5af6c533bb758065ba7b04435057a3085f4","gitHead":"5c6535335d877cdec44919cfaa850acf007ae396","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.7.0","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.3.1.tgz_1476276629225_0.9377689813263714","host":"packages-12-west.internal.npmjs.com"}},"1.3.2":{"name":"fseh","version":"1.3.2","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.3.2","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"89e14f0b31bfc2f47c12f48829ee90bf3793d001","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.3.2.tgz","integrity":"sha512-QiVZwi5rHJ0Okc73IqfrMxyY3KpC3dXrLIlnuhNygWNOcFDD/sFMT7Yzx95C7mEIxziMVkNys6SAEFzJQv9Xew==","signatures":[{"sig":"MEUCIHeE0WjOZDe9caokDXlIzxe/CyVFPvZRoH0hy/1EQc9EAiEAhLlECTxzIlfYIx5zrHXVrFEaJFLQFutxa14+icOXxLk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"89e14f0b31bfc2f47c12f48829ee90bf3793d001","gitHead":"284e176efc49791e7bb4ca254b9a188db1398fb5","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.7.0","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.3.2.tgz_1476283080447_0.3011838006787002","host":"packages-16-east.internal.npmjs.com"}},"1.4.0":{"name":"fseh","version":"1.4.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.4.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"57cad51f51a1371d2cd615d13b79f59c45cdb63c","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.4.0.tgz","integrity":"sha512-+4iEPGNY3ObjRJeVkngl5uYZcNO23SCK3t2GUWxg0eToZ/uedUf0jJiI9gK4Nw2+8wDG76nw5/wCbwBl5734Xg==","signatures":[{"sig":"MEYCIQCv68HWm2PJYpa70KQO8S1srwmy3E33uyXjBHrJmX5cKwIhAPO5fXn1FROLTIbfqNj4Im7KZEuLc44d3kfNleYtV7Bs","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"57cad51f51a1371d2cd615d13b79f59c45cdb63c","gitHead":"4801a480be39b7b00de8b1cda819b01874834a91","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.8.1","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.4.0.tgz_1476696799058_0.6594636216759682","host":"packages-12-west.internal.npmjs.com"}},"1.5.0":{"name":"fseh","version":"1.5.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.5.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"9cd4528ae49cd3809c61ec8dd67c5cddda5c7a26","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.5.0.tgz","integrity":"sha512-dO249GHiUA1C3gxgYdO1Br/0U71QTOuJjkyBQZLzRgwhPMlFl6GqRGkzUTui1XeDgFgqy7E2Q5WFL0lyTrGUqQ==","signatures":[{"sig":"MEQCICiEZgcVUC8y25vlRycf0tuYDfRzTxHblHfS/JFbHQEzAiBNEQxoXiD7Vi6GLP4FbIQzYQi/AIAhRSGukl6w0qE84A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"9cd4528ae49cd3809c61ec8dd67c5cddda5c7a26","gitHead":"574a7cb923aa10af8fd49def5a1abaa9448068e6","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.1","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.5.0.tgz_1478685706703_0.5318406284786761","host":"packages-12-west.internal.npmjs.com"}},"1.6.0":{"name":"fseh","version":"1.6.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.6.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"38f30c3f2d01e3058c29748a7dea22aa29842d98","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.6.0.tgz","integrity":"sha512-NGjTw07lrgI8GqUeMJlWeMBuwzOlf5+2X5QBgYUuc4fAYeXN66PaY3wiGoLrMDmTS+PSCJlNyWKw/IzVKA2Zsg==","signatures":[{"sig":"MEYCIQCjnLQkmtcmG8H9P2JXYylLaXGsvyLg1AfLjf7+emDx1wIhAJ3vXZCSKdqe1s12iqDGXD+FrDleuZHzN//H9/eRScwq","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"38f30c3f2d01e3058c29748a7dea22aa29842d98","gitHead":"6469ba37fed6a9cc6aec9849220e61054f7ac21e","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.1","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.6.0.tgz_1478690303536_0.4612560283858329","host":"packages-12-west.internal.npmjs.com"}},"1.7.0":{"name":"fseh","version":"1.7.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.7.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"42299864679a8b29658516a44916f6f32bf474bc","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.7.0.tgz","integrity":"sha512-GdVsas0d28ccHPYRrweJJIK+UkGCm1zaGtWUGRP8P+DRR0D3U0zGhsW/P6K31hDr4hMv5p5o01+ZSpNYcPI7XA==","signatures":[{"sig":"MEUCIQDprzbvyb/ePodXm7wCBM6ThiE0MMeTVdAeODZ3osCxHwIgf9SdnYIE/eDcNWwcsjzX+SY2wZlucw/MbETuaQ74CpI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"42299864679a8b29658516a44916f6f32bf474bc","gitHead":"34661c5818aed96dcce727808aa9e1546744015c","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.1","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.7.0.tgz_1478864531287_0.8112716157920659","host":"packages-18-east.internal.npmjs.com"}},"1.8.0":{"name":"fseh","version":"1.8.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.8.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"019f663d949f1606f36f4220f39946994f50d84b","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.8.0.tgz","integrity":"sha512-w+e7A8jE4JsCpNTVQYyatHZgFg63VYjJFSIVf5Bcex0Vlolluo7zqJzkhuj6Z4LLIVPzlSbgnMpF7LZCAQORAg==","signatures":[{"sig":"MEQCIH0vwXsLc/5RRAxFU/dtHSVYja9/hgAabByKa/h5joFbAiBZdRYN358p06OlSr/yPH5XtmKrCUzdvJ4btcYBjQDF0A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"019f663d949f1606f36f4220f39946994f50d84b","gitHead":"a93dedf210740ccdeb8c731777295ead65cd686f","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.2","devDependencies":{"nyc":"8.3.0","chai":"3.5.0","mocha":"3.0.2","ghooks":"1.3.2","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.8.6","typescript":"2.0.3","semantic-release":"^4.3.5","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.8.0.tgz_1481279693196_0.048949100309982896","host":"packages-12-west.internal.npmjs.com"}},"1.9.0":{"name":"fseh","version":"1.9.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@1.9.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"98f1eeedef61917fbde597aa158be91bd2254605","tarball":"https://registry.npmjs.org/fseh/-/fseh-1.9.0.tgz","integrity":"sha512-jW6wGrCHUhlXrzjQvivFERN+rjXH9rz3vQ3qTc2pW3mQGW4LcNUTn9e50wbMaDn50clSyduh68tNdx7HnOeNng==","signatures":[{"sig":"MEQCID0YvqGzJ2JVWzQH+HZaMIocg4a/ZJ+iBBTmdSAawZiQAiBAM7Nb/mi5jvNBv9TrOolcr2EvBjMRhzx2AOIkAdzUNQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"98f1eeedef61917fbde597aa158be91bd2254605","gitHead":"deffc3cfc6b2d96723160817d89424b6f281cb5b","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.5","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-1.9.0.tgz_1487329081054_0.40317727671936154","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"fseh","version":"2.0.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.0.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"0379dee8046058811300117a6080695ea72b6b7c","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.0.0.tgz","integrity":"sha512-W95PsIq+xbbS+dUGaFBhY3IhQXVWPG3T5zpt8sUNdcFZptMMQqA9zxpui1Y6A6/cRuiRzQVewpoTjqmSs662Og==","signatures":[{"sig":"MEUCIQDJEk5WhU7AJDcHAcmEvS9Dbb8XUg8C5JKrRXdchUakNwIgOytVMHHBZZy97gqNpoN5D1pyTlCN9lgZszijP4XVEUA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"0379dee8046058811300117a6080695ea72b6b7c","gitHead":"1586c3153d8c27dc2ec4e6183b9aead475fda45f","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.5","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.0.0.tgz_1487350907329_0.411781590199098","host":"packages-12-west.internal.npmjs.com"}},"2.0.1":{"name":"fseh","version":"2.0.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.0.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"1ea7bba4c5d163ce26457155ae8d28c563bd1b74","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.0.1.tgz","integrity":"sha512-K0x+dAEIDza9+A6zlg7ux6s08NXPGzbvfpn6BGR4SM3qEsfWQPgi7Y8TWJcYLpIITC+Yl7o5A8WpKl3MliM32Q==","signatures":[{"sig":"MEQCIASX1iC0qbG5R3GNfWinNAPO5KiF+cjWGQFW6+BIbvxBAiBenTZFR9hqv4Egcpno2YtdMKrunLgHWlXvnpnHBLipYA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"1ea7bba4c5d163ce26457155ae8d28c563bd1b74","gitHead":"5ea828ec8f2c841fbee9cf9a2a5c5cd550b790fd","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.9.5","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.0.1.tgz_1487351993881_0.5829065714497119","host":"packages-18-east.internal.npmjs.com"}},"2.0.2":{"name":"fseh","version":"2.0.2","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.0.2","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"91421b738d95e722367366740b4b060792d18ea7","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.0.2.tgz","integrity":"sha512-07ZK/X87xFy57cud4EpDS+uAwq3WEhG6EV+CFMY7MbjzHLHhNlxUrfd62ADItz0gUTqrwCtR92pnttFqQry+BQ==","signatures":[{"sig":"MEYCIQDrdBB8EdWt5Gpt0WfHFVuc2YdxzUmBT0KH/xuxVr61ZAIhAIpjW/8Ifq5aOjmcZQ4N4YbH8kQjwCMXfGEzznf0t5kw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"91421b738d95e722367366740b4b060792d18ea7","gitHead":"ddc4a2857d1c2a5253164c305644e5373eba34ca","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.10.0","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.0.2.tgz_1488034551534_0.9688791048247367","host":"packages-18-east.internal.npmjs.com"}},"2.0.3":{"name":"fseh","version":"2.0.3","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.0.3","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"d4ffa94a5e61cfe99eb3d436274be7a2278a7aff","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.0.3.tgz","integrity":"sha512-B/fGc/dJSVWfJrSYmyT+hLTTLz50siNxzgGd/LOuxY5KRX1xOMy7xlAmjDCOtzTPFOXvECJgNOgoCw4cpfJBhw==","signatures":[{"sig":"MEYCIQDa3kb9QIXQsDTVfMEL2BtMd/wUZXi5p6THajh4lWh1lwIhAOrK8+B4GyDWrbYrfAP0H4avyG7wAAc+O3nFXjN8GySH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"d4ffa94a5e61cfe99eb3d436274be7a2278a7aff","gitHead":"8862ddcfaa433be289b61a93a5c2d34fb6e29db8","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.10.0","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.0.3.tgz_1488122717868_0.6197987527120858","host":"packages-18-east.internal.npmjs.com"}},"2.0.4":{"name":"fseh","version":"2.0.4","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.0.4","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"39ff2696f5549783315583638067db2b7f16bec0","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.0.4.tgz","integrity":"sha512-A0HzPjLyhLQrMDHRPAE6G+CuhedT8cN1Gp6rOHFxA0z08Xmrz8GdDc//XJpvmiFX3JWfKftNBE+Mlahm94KX/g==","signatures":[{"sig":"MEYCIQC9rbo6seeV3bpCgOiCjLUJeOCqq07ibASrxrbyXr2f6QIhANtIQBq8/2mO/1BwhLQ5Qf7U0yPP6qz7XY0Fg7uNjDaE","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"39ff2696f5549783315583638067db2b7f16bec0","gitHead":"c96c08d3f3063592b79eb234f563c6ff633a7ff8","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.10.0","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.0.4.tgz_1488814092908_0.8355344508308917","host":"packages-12-west.internal.npmjs.com"}},"2.1.0":{"name":"fseh","version":"2.1.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.1.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"41c28e3f033b1fa013f43c7c09e7ec3b1f477197","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.1.0.tgz","integrity":"sha512-Zmjxm6bvssrkYEt9zHGjEZNtPFaHxbmTlBE+D1zY+KcOgb9gdyqk8/iRK739p40jbb1BJRuHHlONs+9SCL3qBA==","signatures":[{"sig":"MEYCIQCSCLip9monMWckyL7vBB2LdqnhIvk9PDI9BJ2LUvs/mAIhAL4dCl/SXDjE+uz8a6sbv/uSUuDyCc66xeJLi/rrYu/F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"41c28e3f033b1fa013f43c7c09e7ec3b1f477197","gitHead":"a0b1cb537241fa31d1191b4801eec0b53b1e98ed","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.10.0","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.1.0.tgz_1489236991399_0.11435256479308009","host":"packages-18-east.internal.npmjs.com"}},"2.2.0":{"name":"fseh","version":"2.2.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.2.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"c2c4c338e60f633dd5f4c666e8a5fade08200f17","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.2.0.tgz","integrity":"sha512-bfutB94+FpKPQeMYlqAmnGYhKIpXKJDpJYZW9gjetaLWBlGVyRYhr/jftE7DkyNretyWEPSyY8mrgadXIiATTA==","signatures":[{"sig":"MEUCIQDdOKScOqi2y/CHniXuF5c9wdQnyfiaWoGZhFa8Wz7gdwIgeIRoGeehJ47FpeihnCWKSCal1XvU0wA0asEBxLND6Fs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"c2c4c338e60f633dd5f4c666e8a5fade08200f17","gitHead":"e5369fd4469c6fac035dd11fcda15be8be6ccf74","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.11","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.10.0","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.2.0.tgz_1489239978766_0.19540178240276873","host":"packages-18-east.internal.npmjs.com"}},"2.3.0":{"name":"fseh","version":"2.3.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.3.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"7976c2ed452da3598e0e71270ecaec99f991209f","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.3.0.tgz","integrity":"sha512-Mv13l5bNNiIxroLM/g/3vFLomG/HSsn7wHKfvCzGtSCq0LnEYkASmlb4qkVyfNpAkFUN2Sji0vnqRbE6mI08Ig==","signatures":[{"sig":"MEYCIQCgqwjQMVtTmDvJk7ra0tlokCwHB9g0OqsxOR0zc2OxvwIhAPYVmbJvgdP0BjUxlBSP6ahhDkVjlxhrS2/nToUECez1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"7976c2ed452da3598e0e71270ecaec99f991209f","gitHead":"04dd9ed61b468d78ab125f1328e41e30a6b099ef","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"6.10.2","devDependencies":{"nyc":"10.1.2","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.5.4","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.5","typescript":"2.1.6","semantic-release":"6.3.2","cz-conventional-changelog":"1.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.3.0.tgz_1491844560466_0.43849490978755057","host":"packages-18-east.internal.npmjs.com"}},"2.3.1":{"name":"fseh","version":"2.3.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.3.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"cf55fe053a10e693b423abe97f64a2f8c92117e7","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.3.1.tgz","integrity":"sha512-JgvgAe+6JFwAXq7jbc1RaEmbxGYPIfxOomF0RswGwftD94JGOqwcYJYzL7L6QASxfYhPfC34S/Ay6cZs8Swkww==","signatures":[{"sig":"MEUCIQCVX1dWOfkXzwHjPQ7H6iyB8SeCw+zcJ4XO6isZtLXcmAIgN1UO+Ikm77awwIG7EdnqX1rOwqLUEHR9gipewLVNACQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"cf55fe053a10e693b423abe97f64a2f8c92117e7","gitHead":"82dbc9cf166213b32f6f69d9a855edaccee981b3","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"7.9.0","devDependencies":{"nyc":"10.2.0","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.6.1","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.6","typescript":"2.2.2","semantic-release":"6.3.2","cz-conventional-changelog":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.3.1.tgz_1492599326066_0.7691764631308615","host":"packages-12-west.internal.npmjs.com"}},"2.3.2":{"name":"fseh","version":"2.3.2","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.3.2","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"5dbfb9aa8c4015382a6b36b8950eb1502b6ad8ca","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.3.2.tgz","integrity":"sha512-2g8d4NPMf/3clAivzRai5EPrZFwgkwurWiF6RSVz/d3GsbaRaXmhJ4ujj/xMuTcO5EAEO4JkcD0GwDfUgrTaBQ==","signatures":[{"sig":"MEUCIBy3B7WGJPw0A65KwOZsNq783hMeThZnIIa5xBuRKNdjAiEAxCL2zi+uIpD2V6CImk32FqFD45y6QvKYQ0tD7wfVEUY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"5dbfb9aa8c4015382a6b36b8950eb1502b6ad8ca","gitHead":"a3c8a4bf6afdfb46f70f98af32f1a96b47329687","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"7.9.0","devDependencies":{"nyc":"10.2.0","chai":"3.5.0","mocha":"3.2.0","ghooks":"2.0.0","rimraf":"2.6.1","chai-spies":"0.7.1","codecov.io":"0.1.6","commitizen":"2.9.6","typescript":"2.2.2","semantic-release":"6.3.2","cz-conventional-changelog":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.3.2.tgz_1492617497438_0.4865875206887722","host":"packages-12-west.internal.npmjs.com"}},"2.4.0":{"name":"fseh","version":"2.4.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.4.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"df99190a904ecd1dc540bc4339bf20baffe92079","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.4.0.tgz","integrity":"sha512-/Zo0TguWufiIuf97pP63hWt3+WrBUzaF5Lyj0Ef17CbTLNbOL5NO9iQgYCGdMAyJDGfnrV/EOYwtIkl3EjXgNw==","signatures":[{"sig":"MEQCIA4HlJHvhXcfYKceEc3u8EWnM8KoQGp9ZTiEGGTEM+IDAiA/Rxvq9QMxnR6TRWS6qXagglrU/TC6f7pLIOAR6jAW9g==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist/**/*.js","dist/**/*.ts","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"df99190a904ecd1dc540bc4339bf20baffe92079","gitHead":"e21043d5edff37f36af184892a0d866a57fc8956","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | codecov","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"8.6.0","devDependencies":{"nyc":"11.2.1","chai":"4.1.2","mocha":"3.5.3","sinon":"^4.0.0","ghooks":"2.0.0","rimraf":"2.6.2","codecov.io":"0.1.6","commitizen":"2.9.6","sinon-chai":"^2.14.0","typescript":"2.5.3","semantic-release":"8.0.3","cz-conventional-changelog":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.4.0.tgz_1506698581282_0.4123346891719848","host":"s3://npm-registry-packages"}},"2.4.1":{"name":"fseh","version":"2.4.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.4.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"5cf880ef6b11ebe88c30b0976b6f4c0c22c8b64c","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.4.1.tgz","integrity":"sha512-TrlbQxgS63XSq83fT4771GyZO8uD+UlrlK/QuXWsJXiZIkmaA/3u2wRr0zpbyie4YwW0Yugxsd9SPuRMGytqSQ==","signatures":[{"sig":"MEQCIB9I4VC9SuSHZ7LqEQCcG4nprH/wW0JLUmSPWdrZUZOYAiBHKjJqe2YxYet1shWbifqwH2Es6jzwpS39zcJ/f5JGaQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist/**/*.js","dist/**/*.ts","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"5cf880ef6b11ebe88c30b0976b6f4c0c22c8b64c","gitHead":"575f3f956817a0d53bf5ab7a1661e0277b833573","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rm -rf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"8.6.0","devDependencies":{"nyc":"11.2.1","chai":"4.1.2","mocha":"3.5.3","sinon":"^4.0.0","ghooks":"2.0.0","coveralls":"^3.0.0","commitizen":"2.9.6","sinon-chai":"^2.14.0","typescript":"2.5.3","semantic-release":"8.0.3","cz-conventional-changelog":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.4.1.tgz_1506699145846_0.11703286273404956","host":"s3://npm-registry-packages"}},"2.5.0":{"name":"fseh","version":"2.5.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.5.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"713216db668f632e8ca365fe319ea22d9c987a0c","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.5.0.tgz","integrity":"sha512-JeudiUVhh1Pnd7sODL1hObgCLJ6tmr8eNB+MrOzvXnE/AdiL6ae0+uvAXczJspzgOhqG3IZsa+HRLvVKQy7LYQ==","signatures":[{"sig":"MEUCIQDD2ziPw+U9i8gaWPqbd7cBSnHmDSC8BwzUSI6rLLb6IAIgPQqqY+Hi5R+g6j9/UST+WuNBMwA9mArYqg0DnTP82Kc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist/**/*.js","dist/**/*.ts","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"713216db668f632e8ca365fe319ea22d9c987a0c","gitHead":"05f253182b9d4ec5dee179209ce5cb32be69a91c","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rm -rf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"8.6.0","devDependencies":{"nyc":"11.2.1","chai":"4.1.2","mocha":"3.5.3","sinon":"^4.0.0","ghooks":"2.0.0","coveralls":"^3.0.0","commitizen":"2.9.6","sinon-chai":"^2.14.0","typescript":"2.5.3","semantic-release":"8.0.3","cz-conventional-changelog":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.5.0.tgz_1506758587274_0.15850361622869968","host":"s3://npm-registry-packages"}},"2.6.0":{"name":"fseh","version":"2.6.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.6.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"a33201eadcdc56412d3470d21dd9c078dda3ade4","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.6.0.tgz","integrity":"sha512-CAPcvEU/o+9nHQpZXA4SkRfJKY31DsA2jZGhKHv5EmrOIVlnBnZU/5znhZODZFz9ab3VaNgb95E90UMGY690ZQ==","signatures":[{"sig":"MEYCIQC4iSbBZMPLFzoOYeLPOCOkkl9NedO++JHut8Z3mK9lUQIhALVbUeLu+pH5FDubVvuAWtICCyr7HDvASGjW+ckquv+g","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/index.js","_from":".","files":["dist/**/*.js","dist/**/*.ts","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"_shasum":"a33201eadcdc56412d3470d21dd9c078dda3ade4","gitHead":"bf0cf58481af53f12382f9be998d2631fbe061cf","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rm -rf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release pre && npm publish && semantic-release post"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"2.15.12","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"8.6.0","devDependencies":{"nyc":"11.2.1","chai":"4.1.2","mocha":"4.0.1","sinon":"^4.0.1","ghooks":"2.0.0","coveralls":"^3.0.0","commitizen":"2.9.6","sinon-chai":"^2.14.0","typescript":"2.5.3","chai-as-promised":"^7.1.1","semantic-release":"8.0.3","cz-conventional-changelog":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh-2.6.0.tgz_1507646989677_0.6870444375090301","host":"s3://npm-registry-packages"}},"2.6.1":{"name":"fseh","version":"2.6.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@2.6.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"232c5f4de1f1f05c9ae12f9b605976e4e294cbaa","tarball":"https://registry.npmjs.org/fseh/-/fseh-2.6.1.tgz","fileCount":5,"integrity":"sha512-pD+ptCUNUgwJ26weN/x5bCD2uJhwUfONJG0iORLUWrB7MqRDZtQBFG5VDMhZ+u2LPsFTdIeMchXkq+xj20Mcxw==","signatures":[{"sig":"MEUCIC2WVF77GKE2u+WR3FJEfkArPKz9M3npgz60Npw3WSizAiEA6Mg4MdL1k+L6uWYsxLUk1Ukt18iTOWFVTjjwd3myDuc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":18094,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbK8pdCRA9TVsSAnZWagAAxEkP/3FEMQ9G5tTC8FByrKh6\nAU2jyUaRXhuFDY94PlmoXnU3rbyBkfg7qj7iN+PgrMHF9DoJaZ2sew5vKJvx\nX3WC87T+kN30SVV4hS5yCy6iL8trJiP2kCh1z+3MGGWHQSLdilqm4xMce8vO\nt5q4kpDkq6trppcFhWYrkfjpj1jX5TwCgtL/1ihjmg2yNn88PvyRUzJt+1OS\n/eFTJsHx6GI26Ei5K10ZHb6kAClgstI5XNv0Zos1saJ77kl69y1UN7GnTo6j\n+GOsDyTCMv8B6qTCyIDYdpQNWsHR16w+6XqN6SbyynDUrAyht//J4bRNEG4I\ncGyDqAuY/d8D5D1L4XOrDQLBJFUxbckqY3/dcn61JzEIQTzOaHuD9DgavPuh\nlFMpi74H8tPbhCOA1XqZ87AlfO85a1mKVq2uyu4Pf+6o2rLptLUeka0hcwcr\njLTHL0p9TGNH1LaIyB+d42ZBMjWMTbKNKazHZk0dTfJo1BG42FFDZg6PdWYg\n+M4jCNdAGcBfGrMg9BBVOjnkUIqL4ilvU3uVEteSccjrblLcOrxy1FNLAq2k\nTnMBUjVHZuLA7HVTYIF5IM3+HgN6VfBzanfKRr/smHyO/KbGvtvh51xRAelE\n8oRLluqBrjbst/ILijm/4aw1HXEPLLQ2mkkW3NuplaLT3dh3qJoargHPaD++\nWFL/\r\n=z2Sw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","files":["dist/**/*.js","dist/**/*.ts","README.md","LICENSE"],"config":{"ghooks":{"pre-commit":"npm run build && npm run cover && npm run check-coverage"},"commitizen":{"path":"node_modules/cz-conventional-changelog"}},"gitHead":"36616c467ddb305299d61beffafdaee16ef05a5e","scripts":{"test":"mocha src/*.test.js","build":"tsc","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rm -rf dist","watch:test":"npm t -- -w","check-coverage":"nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release --prepare && semantic-release --publish && semantic-release --success"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"5.5.1","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"8.9.0","_hasShrinkwrap":false,"devDependencies":{"nyc":"12.0.2","chai":"4.1.2","mocha":"5.2.0","sinon":"^6.0.0","ghooks":"2.0.4","coveralls":"^3.0.1","commitizen":"2.10.1","sinon-chai":"^3.2.0","typescript":"2.9.2","chai-as-promised":"^7.1.1","semantic-release":"15.6.0","cz-conventional-changelog":"2.1.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_2.6.1_1529596509693_0.6729087456392193","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"fseh","version":"3.0.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@3.0.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"c2add0bb2bedd86dac88e6864430c6d938f68b33","tarball":"https://registry.npmjs.org/fseh/-/fseh-3.0.0.tgz","fileCount":11,"integrity":"sha512-LLr53LaQT7o249z2lipquTF0JrIDyTXTTE6iSuXY9WvNuhgI2K9pjSrxfJaInD4MU8+0Cm5UuU2TNDNOLHaDZg==","signatures":[{"sig":"MEYCIQDhPNQzZ/DawQ1INb6LnruwnRZfrqQDE9c69IAdggf5bwIhAKttx6dlJlRRUClmL9YRSiuuA9k9OZ7Q6svnEbmODkFI","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":21911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyYLaCRA9TVsSAnZWagAAYvgQAJuM/YwYKDfYbrJZKXSv\nKZZa4vLIuYC004AMN/75BeTktK5iSalIg/Vjl1nHr3BN/C7eSZzxpDMQKhda\n+Zf5Y2OWNNBmYV1meNHxXkMTNoul4nHKd7TMbE3aTfOcoFFKXuShik+c/hZL\nK6O1f2Q0XRwt0TKpcfq2y3UoGigMiEVDntfVIMR/G/TbDvpgOb4tTuehEohs\n2DoDbHlSmQ7S01rhpBwFzWAqSp8boq6KBGiJtnxKJCwYq0T1Mu7Kh1Sd2UtX\nqzs+hodR/L2ntGBySYr/AoeSxg/77x3EJysN+lRk1DLfCrYF9BKL4tlwUgPv\ndUtj7r77eNRx/davdEVlYbiMJlr6dRo4nPpbq4zzC9ma8MNaQlh/dqVEOPAR\nK/H8jcjFFx2dQ7qkJr27WivD3WkCqqirfc3hz8oWJAQSmUWVux2wRJmC5n7c\nTh3co2vb5KQ2gf+BjAnjT2vlfSjUDxVn7i81ZOILn5jbsKtVa+XyTZJtURiG\nEIzO74NQtpOxzIGj/TfaZbMt+x9ncdyc+jndNTb7ICl1zaabiF07giXwb4J3\nBGrh/pbex4w76miB3U7IAU9TI6BExb8WExpzYe2U+3haL6yiC3wVzX+WS8nu\nHg5XHgOyoRoyDz54F72m4XDPGgyMMHs5WinK0Z0NsxWSKqTTbOYtRFCjJ6WX\nSs8q\r\n=LWVM\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"9c70ce294c1faae344541daaa17b9d8d98f535b8","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.0","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.13.0","dependencies":{"eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","rimraf":"^3.0.0","coveralls":"^3.0.7","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.2.0","typescript":"^3.7.2","@types/chai":"^4.2.4","mochawesome":"^4.1.0","@types/mocha":"^5.2.7","@commitlint/cli":"^8.2.0","chai-as-promised":"^7.1.1","semantic-release":"^15.13.30","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.0.2","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_3.0.0_1573487322439_0.15295835454192197","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"fseh","version":"4.0.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.0.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"7107e4e50375a591f65b65b37f6995b14b156158","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.0.0.tgz","fileCount":11,"integrity":"sha512-mX78ZWKoxSeRO6CdYSa64HK9x4ZenHqLFvqbNJYHhHSVZaqYjRmFTw4vN9SCsgxcxQUWqiEeYbJ6cCz/SZ2wMw==","signatures":[{"sig":"MEUCIQCdnmisGMzLYj6L29WM8oSFYNZxm6RaBspSdBFY2QfbeAIgTfGEQeAa6SmLHUH8OrzymExpPtylWdtNpQ0vrit2mtA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23143,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdynFgCRA9TVsSAnZWagAAhToP/2owFwZqiyAmfAWK47Tn\nREPme0SGoXUGlXDUgiBSDPuhWuHgAdf478IKKGX9C/QHDZdSorWNvMkctF4d\ngVVLjWHYrNv8L7R6ML/pLd5BVBaNFVUUh/LaZK7g0z7TBNPWFsGSA/LgbbCj\n9x9q5OGb/SAovbWo5ko8J1BhJH7Og7sm2nwvSuXDxz4UnL8Tb0zXDeVAExY8\n0mqND0Nya/MXt7ycX5SaJpco4rYsWCkzqkM3oqOgdPqaJ7sHAcj5/eHWYJHt\nBmeX5oyDUjUnbNLKra93VvoR+F9ekxNUwnamfjvvCL9JbgkFQuf6OKZPUSv/\n127jVOy/2g3x8q/qoJA13Ea8tc6N2Zu+IeyoluVL3dr5vU61Yi1xAEpxZCrt\nR2eBAb03jeYzkRgpfcLPuTao0MHsCDMnHVjHk3j1OwpxSeoJgu9nnvCJ4yuf\nd3oKxHT8sRYfj+VfB5UVIT8hBY5GIviq7Bas8QXiky+AcxwI4yRIhtHB7nFT\nK25RfjvDrsUJE/dz9UaI30lTz1iXx8sfL9YzxNePKw+SSDpeKj9oUOCbOKvD\n1/QGWXU7Pktv4D3xfDERY00goDecQi9+bCoMFy4E+3cRnYzFGJAkl9jVcZkN\nTpQ+PJB8WxEl1JhjAqsXHR0W/PDsMjeXY2TeBDetOgyrbJyQVn+xTBxKMNH4\ngtbG\r\n=LsOR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"8f23daff6808c98d0f481bc543a9b9fda91e3e94","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.0","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.13.0","dependencies":{"debuggo":"^1.1.4","eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","rimraf":"^3.0.0","coveralls":"^3.0.7","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.2.0","typescript":"^3.7.2","@types/chai":"^4.2.4","mochawesome":"^4.1.0","@types/mocha":"^5.2.7","@commitlint/cli":"^8.2.0","chai-as-promised":"^7.1.1","semantic-release":"^15.13.30","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.0.2","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.0.0_1573548383723_0.6936437208597723","host":"s3://npm-registry-packages"}},"4.1.0":{"name":"fseh","version":"4.1.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.1.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"db58d343542d9fa3bb57a3732b80997710d83e4a","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.1.0.tgz","fileCount":11,"integrity":"sha512-1iid7qBAfcO1xwJHv/AXD7JGeuFkEVVLeLz37TdA8J3x8b+ibJqADWv44ty4qUtVLTmbTNhhEbrtZq//vUIVDg==","signatures":[{"sig":"MEUCIDpEuKH35590uk3NSgDNoJIpEfT2L+auQdv1msLaW5hoAiEA5g6eeGNeOwVrCP0EhxuTfv2s9Y6x3D0+HjF0IhJmtaE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzsaaCRA9TVsSAnZWagAASygQAIX8nb0/wLWZI5x0u9MV\nh0MManf/soh2qX6BXaU4a1SGOLAZ7WjLZ2wgiaU8yig9vHotFLFrGQgWFA61\nAnY6aX4BgvCo0mdlDAFJFCSel3iShmhN0WhTf1u79EqIfEh0GUKR8CrxBLkk\nIP2cyJYV2jFYI0ncIzhrqcbKOrG9faU0B7//jXuFH830npSC7sk4cbQqJSEj\nEty/DGzueNEYYXlq6sBSeXIk6suQR/AxiS9y2r8RYk76x2/v2ha+mEpgi8lR\noavJNra9XCYyTqvgBflOG/3+7So/W8flnXyoQELJ7viYKTyyPRAy4Dte2YZ9\n/hErqFfvDV52NlcY20hsghE/oWJPnsW4IS+l8gOYUq4fXwLqSRvGtDYELqSk\nTi+2PiSvrH8pYohQF92s3EWasShHIHsn3mEm9IxMeC7lB5QVNv2mA1PAp5PD\nR0oiWn3Ru0+EAtn7UoBaqKK5yEHB8eMRDE0gj0fOlAkLZIdzdfqh3C5dYaI0\nP0aT+sdLSpSoy7XYV7ZREayY2Ee3fGWjDPzTE2oNQeU4/I7j4gdmeLRjeXZ6\nHIX0VU3nH7DdEhJEo56jerZct/Z4SnC2/52vwC+6Kl+Mfcdmq3tyKZ6gakqx\n9z0RJc9415gMl1opRevQg9QgBYzV3wQOyUP9H0d9N4jddCpv+7dZagu87IcC\nt+ny\r\n=mfxx\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"30015b2d37d00bdfafb5492dde933d27e8513bf5","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.0","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.13.0","dependencies":{"debuggo":"^1.1.4","eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","rimraf":"^3.0.0","coveralls":"^3.0.7","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.2.0","typescript":"^3.7.2","@types/chai":"^4.2.4","mochawesome":"^4.1.0","@types/mocha":"^5.2.7","@commitlint/cli":"^8.2.0","chai-as-promised":"^7.1.1","semantic-release":"^15.13.30","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.0.2","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.1.0_1573832345928_0.7011140843538921","host":"s3://npm-registry-packages"}},"4.1.1":{"name":"fseh","version":"4.1.1","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.1.1","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"61ee5ebedc36dc1f0fe4d68c265285bd3313b11e","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.1.1.tgz","fileCount":11,"integrity":"sha512-Ud7aMC30KgxXlW+FA8zBHQhAc07KSpCFVFQk/uBYO0UsIlxNfe7hDRYed94NR2vKyzF/iArTXNlmnMPnkhj04w==","signatures":[{"sig":"MEYCIQCzROCXDZFMIx+rJ0Rz0HdpR3q8N78nasmylwEK1JIKSAIhAIfXYns88wj24KuwdUW3ngMGYAZirIQjkdmEOa+7VDQf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":23194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd6oStCRA9TVsSAnZWagAAiyYP/iinMk1gGkemOPp86A+b\nMjz1vwoXbAMnY183tAEI50r+IWgXSbyRAauBotJ6mGhqt/ElT+gg4lpwtwsc\ntt2jqFQkVUp1/z5vpXdC80Jo4RynKc0kO0VJum6MPRlCiNA62RLoqx84J4qz\nT3ykE9xXAZ723VWHm1rFYosAZIQuybFmQpsQVXFhrwDkUUu1593CS0xQ/lpj\n4Dm4vzSap1SRNCz9oYlPx1aui1hAj9SxugIv7ldK6nRB0MmVowc5dC6myQ2S\niPaRfzm30H0Au25tTW6wAWWC+/N+FcEXXwlukpQx/sVePiSr0cW7XpLLJpGp\n6KYRyQBeRM5N/gexqn3X8pAAGSynuLO01OP8DYgMJWSJ3ok5w/43LuUmpq5K\nxenprkMx4mH95dFjuuzDCYenfX5GbNoCre8CFWLcpcbcjwNQ3FEOA1s8Y5+d\nL23T2giXVeB/q4twVgOkQdjuXa/3m3mQAZSZ7HPqjN4kc0os8HBsy/gnr7vm\nLxiDWSPRwHMWvQq70CcCCBQWBWNBVbJTxkzH3+wHtFgYEgf/vyBIZYMO/k40\nNGKbBFELT48kQ5JjfDxWqTbBzOKFL3RtugFaAnP2FMVhgNMTK4oJ4JPTRigc\nxRcrKc+SM3PL8TEvUUvMKKygFozYb3h+OZH5LiTF9SGO0M+ubritGWRjDQ97\nBtbR\r\n=ChRd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"b7c004035239befce5f798ba92b8e1849424e82a","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.0","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.13.1","dependencies":{"debuggo":"^1.1.4","eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","rimraf":"^3.0.0","coveralls":"^3.0.7","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.2.0","typescript":"^3.7.2","@types/chai":"^4.2.4","mochawesome":"^4.1.0","@types/mocha":"^5.2.7","@commitlint/cli":"^8.2.0","chai-as-promised":"^7.1.1","semantic-release":"^15.13.30","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.0.2","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.1.1_1575650476274_0.1718931112698967","host":"s3://npm-registry-packages"}},"4.1.2":{"name":"fseh","version":"4.1.2","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.1.2","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"0255d794cd4dba48ddf4cee42d8b34f3cd62234f","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.1.2.tgz","fileCount":13,"integrity":"sha512-/5kU9kCIRgBbl42Q3uOHWQ/459XpJQFgvneEUcOfYabifO6qsj704/+7ww+X1T7UJAmrD7mxzO0p5QHXqnuT8A==","signatures":[{"sig":"MEUCIQD9uB13VbHCr6HEitEGqGXByQPSu7pd6Fdgl2EX9dcH8AIgWRbHdKrjsCU+lM5EMZ3IiH1icSqbhCxUcK4psaIk/Kw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8NVMCRA9TVsSAnZWagAA37YQAJTBisu1Dnt27uuF17+E\n6SC4vGBzMR/BeMpBaswTXMz4gI+8qeyKz9BNjUTPbnM0423OXYHBl/Sok+GT\nK4QwfhN1NZnmK6sHJbwJ7C7RIM+q3v+qPo/xj4bak87BRsz0MS98G1T0VeKe\nBl0wocu1GdhY05YCut5LaVWXNZ67TkEAtRg9gz108rlUXE+r4g9STgGrS5Ot\n8DKGPTuMcu4le/HB3F1hEE119BDgC7wWT4SiyQiewA92DE269TlzBnqE8AmK\npbneLfbhvbVdb74AGiU3jkoWBGjIoA0comXypZztv9KDaMLV85S6xGY/l4mj\nUt2yyy1bGZht8hYWnOimotVUi1TVwHhAulBxX64WVnBmxmQdPmp1kmfX5gjO\nq3AJQ1D3JwN8HrogOO/0qQYkTK/gprudhmjhltli+JdOrZdRnTzJ+6nWRngH\nnQRQhUEq8ADGU9BkNsF+5l3SrM+PhGuPQFogO887OT2tWs0+yZv80EWdzlmw\n0cbjHCQ7LE2czaHafp5HwsHQ0TIZsxoeyWyRSBs0Q1jSyE8U0ONRU554Nqui\n70X17eSKJKM7fxX3ipD5kJUPEh6+Tp4353/ufqOntbi4gBRC+T8Jhrfwfy+b\nG1nmNYXKtXSwqH7K/veYcl2EP/3EfPi7DYss5w1k0dlnO9UiKU21h+8oSYYH\nHB4U\r\n=YSLd\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"42185aa3cfc952acd314fa4bfddf8e6ef4b6cc9d","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.0","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.13.1","dependencies":{"debuggo":"^1.1.4","eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","rimraf":"^3.0.0","coveralls":"^3.0.7","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.2.0","typescript":"^3.7.2","@types/chai":"^4.2.4","mochawesome":"^4.1.0","@types/mocha":"^5.2.7","@commitlint/cli":"^8.2.0","chai-as-promised":"^7.1.1","semantic-release":"^15.13.30","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.0.2","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.1.2_1576064332045_0.13752093189240622","host":"s3://npm-registry-packages"}},"4.1.3":{"name":"fseh","version":"4.1.3","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.1.3","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"44b34bc7eb3a2fee7f5ba622f0ef14a869bbe230","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.1.3.tgz","fileCount":13,"integrity":"sha512-xU3zUPjpuD2wxoQESMbDenlwXxKnHAbLUznkUfziOofljIX2enYTZFZzYeU+/hyJzifScS6JcCJH2d4b3bjVAw==","signatures":[{"sig":"MEQCIEJu7DI2wF3/zjWptMKVuOxEeWt5qkYGQiNZZmdzl8O4AiA7VhwhctXED8YVaW1wGewOYidHTFknJWdcPo3LtcmCRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26248,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQn1uCRA9TVsSAnZWagAAODgP/RzjHStD+bsxecO5ShY0\naM8Kl6jOsLc8QaYJYXfJG7GSuBuSLncIknMARYEoY6GwgRxlb7o+3Ei/MhRj\nx+gLeEUf4rI7twrTKvWGvKu7uxXXHIXrNLCJmfSU0YpyJpQhqViiQcoiBwrv\nHtPAtV4XCK4RaeDKa18LW8Icide0iIqKJA/fAI8Ur+n7GQgZMZ71Eyrw3ej3\nT9arvcbsEJRk7YYfJxHu/HFQqndqimjIt24tKBYH4A+0JIo680UhpHMXhnKf\ns7u1cwOgtBrthIIxnkfh+tTKBO2D/cWEFmyzPhv1gvHx1n8HupT+m9FBnbnE\nPhEnrGiBvFPGKNub+3dnSzseVH1iCiQXD2xaxipQh0rOHcorcLmeQpfTOLh9\nYrienqnkYRItX/wntKVjLmPO4Ka4V7YtOnG3jplnzZmNikao3/HUtzNJHP9S\nOnDmZjkVvP1dHM2eBIkafpK0/n0/C/TFJyOgsuL3yuPfsveHhJVSfLO5yf7t\nkz03ON1fhZ3H207XFN3DmaeUE80JDn4froBhm3LeqOZ+igYxK9faCG9OSmBX\nwKmrdK6gIGM00TQvyRJ43z5yyLpFX8OHCixyirvT3ijAMdo5h+UB8+BUWK5k\npfbuc4g3QdCRS4A4QKlYUWRrWaUn9Trt9xbeLs2L6b0IizCcfNYo1aW1xDlT\nnxHV\r\n=pxQC\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"15c581de6d3494f4be115eff6ccf3766f4c0491c","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.7","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.15.0","dependencies":{"debuggo":"^1.1.4","eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^14.1.1","chai":"^4.2.0","husky":"^3.0.9","mocha":"^6.2.2","rimraf":"^3.0.0","coveralls":"^3.0.7","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.2.0","typescript":"^3.7.2","@types/chai":"^4.2.4","mochawesome":"^4.1.0","@types/mocha":"^5.2.7","@commitlint/cli":"^8.2.0","chai-as-promised":"^7.1.1","semantic-release":"^15.13.30","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.0.2","@commitlint/config-conventional":"^8.2.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.1.3_1581415790217_0.3551524732298428","host":"s3://npm-registry-packages"}},"4.1.4":{"name":"fseh","version":"4.1.4","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.1.4","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"7abb17e21114e8c3d616eba0e28b49ae75488e00","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.1.4.tgz","fileCount":13,"integrity":"sha512-PiasHQ+mfSjmkW0YnvXaznlzd7IJ4wbdAa92ggXK4Rgaml0Y+hzT/WGwnrlo6ubM8rAZntMjkLrHgMbGQnH+dw==","signatures":[{"sig":"MEUCIQC4kY99x3Q0THP0qWV5PgtmUBo6OFI9kFfs2Ct1WmDowAIgF82yiMVKliUIv2o/YyhCv2t8HWImpBNK6hKv5nhJozY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":26246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeQn6jCRA9TVsSAnZWagAAydQQAIyG3FcYc+a1MC5yDdn0\n8TJQNY9NR5j5cbIKtYb6tobB8hwmxxZpyXVcF0nuahMGIctEjuL73GhlnYfK\n/W46Ux11SKeaekfwDY2bSLdQcFkRP197kvL3UgWwMcxuHmcxLQGIfYpKKEyr\nO5o3UCE6heZ1xqIcFhsqny6S8hpXvOmiLCG2F6ffieFT9ZsN6VL7MYoeo5uZ\nagTORR/SQ27S9/DBCf5vUWeybHc9e5c7lPndm1dxYrgQthXCDygaODnK/Ffs\nMFDxwFVOizeK+POBBtnmEzM78RIHFh4pLSi562BfORyy+B41uo8BzVoDWkce\nHfl6oQERa1OUIKSiwPjUk+/XZf78YqF+42++AuxHQGz5FQ3axVY+SNl+G9I2\nIe/N1evfNvOgEZoTLqSEvIy/p+tkGln+G4DRs7vEkqonUBJ0rceHIgJKZycA\n+Rs/9YPKgUaEw/B5eLwVqr5ruMaE91ncPfZxUcmQo0zicuZgmWkjiSMwg1UV\n69l7K0VoLShW19VIPIbQmelNCqhffsElNWJLZYisL9eo68zBnp+yV4lV2GA8\n2+VWScMnLosymXhBRtwdW9jctn62O7mOFj3vp3/QSrjYiEpvqnSl48lLfrEe\n0OtUGbOYwtgyCexPSA14ityplxxY9D3eMnpfGT5lSr/Myq+U1GN3eFVPqtyX\n/gEw\r\n=usHF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"4f6293112962fa233e549a56cba8168e3781aa3f","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.13.7","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"12.15.0","dependencies":{"debuggo":"^1.2.0","eredita":"^1.1.4"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.0.0","chai":"^4.2.0","husky":"^4.2.1","mocha":"^7.0.1","rimraf":"^3.0.2","coveralls":"^3.0.9","supertest":"^4.0.2","chai-spies":"^1.0.0","commitizen":"^4.0.3","commitlint":"^8.3.5","typescript":"^3.7.5","@types/chai":"^4.2.8","mochawesome":"^4.1.0","@types/mocha":"^7.0.1","@commitlint/cli":"^8.3.5","chai-as-promised":"^7.1.1","semantic-release":"^17.0.2","@types/chai-spies":"^1.0.1","@types/chai-as-promised":"^7.1.2","cz-conventional-changelog":"^3.1.0","@commitlint/config-conventional":"^8.3.4"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.1.4_1581416099221_0.14182663901783688","host":"s3://npm-registry-packages"}},"4.2.0":{"name":"fseh","version":"4.2.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@4.2.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"nyc":{"exclude":["**/test"],"include":["dist/**/*.js","src/**/*.ts"],"reporter":["lcov","text"],"extension":[".js",".ts"],"sourceMap":true},"dist":{"shasum":"ad518d8e2bcbd14ca091abadd9d07e83123298f9","tarball":"https://registry.npmjs.org/fseh/-/fseh-4.2.0.tgz","fileCount":13,"integrity":"sha512-+wWD8FbnuSPAYSSCTBHUQyr3wWGpgcNAau6+VgV65UTjmKY75hVirHzxmKj9lVIoH046g7j/Co1Nmo07EGbnBw==","signatures":[{"sig":"MEUCIFKPaOrCc5UY9zMPAwGXxFrfLN6GW5zwipZ4U/W8wLomAiEAob3i+uFiWOU0N3jGvBhCQlTWD5fRJtkmhQ7gpnLIc/g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":27100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfqsTxCRA9TVsSAnZWagAAjXMP/0UTtbzPtVsWM3D9Ln8k\nikBxLBmsX/9lc4PphamhHYKjfZjt0delwTbNh36crK+TNkFbp6ulecI1/yCA\nHrtCEa1JXsvKoepjC59EdyjxPDHkt6FG56q2DJFGSb/J69/uO185WJTKycXk\nTj1tg2r2e1BY16cebGYktZEnDUzQBDRhfEyY4BglndXJ2u2yP6y7JVDwpE+m\nPbt5cr9BdxYhPx45YhRHYNoNqGn0pw3674Eyu0QX7x2shJiZE/jC24gFEOEy\nrecr9HYFthIHgw2aaeGvBq0IQpkJkO2ySu9vdsL2gqtoQF3a9a0E9UYNvbrE\nzq3qxC32stf82dUdRI90bCqXsSbW8rPL9gSXuhZ07TPq1jiRBUZywcqk/OQZ\nU7NE4G6TGQvehxsb9kdo8Hn+oGOxJX5ubnrySr+97jgT1R1VhzLoulvvwUIE\na7KJYf/Q7GLBu0V+ja7wQaE5vhSJe6CpTvfZ//RxyR057x6x7sAbqSR7Yu4G\nu11/ZoVBMCAD+hZqWOtEcRavA8re2wGokMiD7kFzAkGpidHXv50Adxt3XP9v\n4SGYOb5Aw2Q24eraojxO+qGhS5aKgHH13le8trLvm6Nh/8iYIvHmh6VbGS9N\nUk5XpRlBj6Hoz3hxPPOb8V++xLAblA04GTo7ggcYxus3Kd8DtBHxLdpob40g\nrAiC\r\n=KvPk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS","pre-commit":"npm run build && npm run cover && npm run check-coverage"}},"config":{"commitizen":{"path":"./node_modules/cz-conventional-changelog"}},"gitHead":"37d51a07ea951f9fe2b827cfa28b0f76dfb5950c","scripts":{"test":"find ./test/ts -type f -name '*.js' -delete && npm run build && tsc -p test && mocha --exit --no-timeouts --recursive --reporter mochawesome --reporter-options reportDir=test-results test/**/*.test.js","build":"tsc","clean":"rimraf dist coverage .nyc_output test-results","cover":"nyc --reporter=lcov --reporter=text npm t","commit":"git-cz","prebuild":"rimraf dist","build:all":"npm i && npm run build && npm i --package-lock","clean:all":"npm run clean && rimraf node_modules","test:debug":"find ./test/ts -type f -name '*.js' -delete && npm run build && npm run build:tests && mocha --exit --no-timeouts --inspect-brk --recursive test/**/*.test.js","test:watch":"nodemon -e ts --ignore dist/ --ignore 'test/ts/*.js' --exec npm run test","watch:test":"npm t -- -w","build:tests":"tsc -p test","check-coverage":"nyc check-coverage --statements 100 --branches 99 --functions 100 --lines 100","report-coverage":"cat ./coverage/lcov.info | coveralls","semantic-release":"semantic-release","semantic-release-dry":"semantic-release --dry-run"},"typings":"dist/index.d.ts","_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"6.14.8","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"14.15.0","dependencies":{"debuggo":"^1.3.1","eredita":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"nyc":"^15.1.0","chai":"^4.2.0","husky":"^4.3.0","mocha":"^8.2.1","rimraf":"^3.0.2","coveralls":"^3.1.0","supertest":"^6.0.1","chai-spies":"^1.0.0","commitizen":"^4.2.2","commitlint":"^11.0.0","typescript":"^4.0.5","@types/chai":"^4.2.14","mochawesome":"^6.2.1","@types/mocha":"^8.0.3","@commitlint/cli":"^11.0.0","chai-as-promised":"^7.1.1","semantic-release":"^17.2.2","@types/chai-spies":"^1.0.2","@types/chai-as-promised":"^7.1.3","cz-conventional-changelog":"^3.3.0","@commitlint/config-conventional":"^11.0.0"},"_npmOperationalInternal":{"tmp":"tmp/fseh_4.2.0_1605027057052_0.90796611426381","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"fseh","version":"5.0.0","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"url":"http://www.vivocha.com/","name":"Federico Pinna","email":"fpinna@vivocha.com"},"license":"MIT","_id":"fseh@5.0.0","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"homepage":"https://github.com/0xfede/fseh#readme","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"dist":{"shasum":"e54d57633f183fc019e1656097468961c08f7a5a","tarball":"https://registry.npmjs.org/fseh/-/fseh-5.0.0.tgz","fileCount":18,"integrity":"sha512-n27tW/JPKj+aiUPCs0dxFdRQmeCYwDuzppeaSBsjBs93HR3ZRAQOfImiXWTLSezirR0rJLSytEqhe+xhTZY+wQ==","signatures":[{"sig":"MEQCIA6wF9XhpKgn8H0yHA+eVAVeLbJS+Yo8lhFnv31gWif/AiAiysQKYqnjlp5nIz/GfdhKTjOS9Dk5WN1Z7kbcEArz2A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":35617},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"gitHead":"7b697a981bbe803ef3cfa5d831422f63070741ab","scripts":{"test":"npm run build && tsc -p test && mocha --exit --no-timeouts --recursive test/**/*.test.js","build":"tsc","clean":"rm -rf dist coverage test-results","cover":"c8 --reporter=lcov --reporter=text npm t","prebuild":"rm -rf dist","clean:all":"npm run clean && rm -rf node_modules","check-coverage":"c8 check-coverage --statements 100 --branches 99 --functions 100 --lines 100","semantic-release":"semantic-release"},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"repository":{"url":"git+https://github.com/0xfede/fseh.git","type":"git"},"_npmVersion":"11.6.2","description":"A minimal Finite State Event Handler for JavaScript","directories":{},"_nodeVersion":"24.11.1","dependencies":{"debuggo":"^2.0.0","eredita":"^1.2.0"},"_hasShrinkwrap":false,"devDependencies":{"c8":"^10.0.0","chai":"^4.4.0","mocha":"^10.7.0","chai-spies":"^1.1.0","typescript":"^5.7.0","@types/chai":"^4.3.0","@types/node":"^22.19.13","mochawesome":"^7.1.3","@types/mocha":"^10.0.0","chai-as-promised":"^7.1.1","@types/chai-spies":"^1.0.6","@types/chai-as-promised":"^7.1.8"},"_npmOperationalInternal":{"tmp":"tmp/fseh_5.0.0_1772547211607_0.7967047736249697","host":"s3://npm-registry-packages-npm-production"}},"5.0.1":{"name":"fseh","version":"5.0.1","description":"A minimal Finite State Event Handler for JavaScript","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"scripts":{"build":"tsc","clean":"rm -rf dist coverage test-results","clean:all":"npm run clean && rm -rf node_modules","prebuild":"rm -rf dist","cover":"c8 --reporter=lcov --reporter=text npm t","check-coverage":"c8 check-coverage --statements 100 --branches 99 --functions 100 --lines 100","test":"npm run build && tsc -p test && mocha --exit --no-timeouts --recursive test/**/*.test.js","semantic-release":"semantic-release"},"repository":{"type":"git","url":"git+https://github.com/0xfede/fseh.git"},"keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"author":{"name":"Federico Pinna","email":"fpinna@vivocha.com","url":"http://www.vivocha.com/"},"license":"MIT","bugs":{"url":"https://github.com/0xfede/fseh/issues"},"homepage":"https://github.com/0xfede/fseh#readme","devDependencies":{"@types/chai":"^4.3.0","@types/chai-as-promised":"^7.1.8","@types/chai-spies":"^1.0.6","@types/mocha":"^10.0.0","@types/node":"^22.19.13","c8":"^10.0.0","chai":"^4.4.0","chai-as-promised":"^7.1.1","chai-spies":"^1.1.0","mocha":"^10.7.0","mochawesome":"^7.1.3","typescript":"^5.7.0"},"dependencies":{"debuggo":"^2.0.1","eredita":"^1.2.0"},"gitHead":"32e0be7722d27cd3b6251102585fd3885104fdc7","_id":"fseh@5.0.1","_nodeVersion":"24.11.1","_npmVersion":"11.6.2","dist":{"integrity":"sha512-h9p/saifnB3QzOoCuHBOHTHdg5Ql6iFZ43obiTeLGEAKWb04FiJvKI0/6y5tjQJkSurvFIjYNiMZ0+GluImIuA==","shasum":"fbe41e686cac9e8df9cd633d327c5db407b3a0e0","tarball":"https://registry.npmjs.org/fseh/-/fseh-5.0.1.tgz","fileCount":18,"unpackedSize":35617,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHSDQH2v1vX9/nsZ+ecTNGi6Jrnpgo1pX7Wsz7NJt1fcAiA591n08RFpWOl1uPSG0SAtHx7RayhU00FL8mae6P1Uww=="}]},"_npmUser":{"name":"0xfede","email":"fpinna@vivocha.com"},"directories":{},"maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/fseh_5.0.1_1772549177398_0.04638111441488246"},"_hasShrinkwrap":false}},"time":{"created":"2016-09-22T16:57:16.367Z","modified":"2026-03-03T14:46:17.667Z","1.0.0":"2016-09-22T16:57:16.367Z","1.1.0":"2016-09-23T07:32:42.294Z","1.2.0":"2016-09-23T14:32:51.566Z","1.2.1":"2016-09-27T09:20:04.369Z","1.3.0":"2016-10-07T14:37:06.296Z","1.3.1":"2016-10-12T12:50:31.221Z","1.3.2":"2016-10-12T14:38:01.296Z","1.4.0":"2016-10-17T09:33:20.593Z","1.5.0":"2016-11-09T10:01:48.430Z","1.6.0":"2016-11-09T11:18:25.736Z","1.7.0":"2016-11-11T11:42:11.850Z","1.8.0":"2016-12-09T10:34:54.994Z","1.9.0":"2017-02-17T10:58:02.920Z","2.0.0":"2017-02-17T17:01:49.402Z","2.0.1":"2017-02-17T17:19:54.564Z","2.0.2":"2017-02-25T14:55:52.235Z","2.0.3":"2017-02-26T15:25:18.492Z","2.0.4":"2017-03-06T15:28:14.808Z","2.1.0":"2017-03-11T12:56:32.058Z","2.2.0":"2017-03-11T13:46:19.428Z","2.3.0":"2017-04-10T17:16:01.240Z","2.3.1":"2017-04-19T10:55:28.048Z","2.3.2":"2017-04-19T15:58:19.410Z","2.4.0":"2017-09-29T15:23:02.287Z","2.4.1":"2017-09-29T15:32:26.920Z","2.5.0":"2017-09-30T08:03:09.112Z","2.6.0":"2017-10-10T14:49:50.758Z","2.6.1":"2018-06-21T15:55:09.748Z","3.0.0":"2019-11-11T15:48:42.552Z","4.0.0":"2019-11-12T08:46:23.885Z","4.1.0":"2019-11-15T15:39:06.035Z","4.1.1":"2019-12-06T16:41:16.397Z","4.1.2":"2019-12-11T11:38:52.151Z","4.1.3":"2020-02-11T10:09:50.386Z","4.1.4":"2020-02-11T10:14:59.375Z","4.2.0":"2020-11-10T16:50:57.178Z","5.0.0":"2026-03-03T14:13:31.750Z","5.0.1":"2026-03-03T14:46:17.555Z"},"bugs":{"url":"https://github.com/0xfede/fseh/issues"},"author":{"name":"Federico Pinna","email":"fpinna@vivocha.com","url":"http://www.vivocha.com/"},"license":"MIT","homepage":"https://github.com/0xfede/fseh#readme","keywords":["fsm","finite","state","machine","event","handler","typescript","javascript"],"repository":{"type":"git","url":"git+https://github.com/0xfede/fseh.git"},"description":"A minimal Finite State Event Handler for JavaScript","maintainers":[{"name":"0xfede","email":"fpinna@vivocha.com"}],"readme":"# fseh\nA minimal Finite State Event Handler for JavaScript\n\n[![travis build](https://img.shields.io/travis/0xfede/fseh.svg)](https://travis-ci.org/0xfede/fseh)\n[![codecov coverage](https://img.shields.io/codecov/c/github/0xfede/fseh.svg)](https://codecov.io/gh/0xfede/fseh)\n[![npm version](https://img.shields.io/npm/v/fseh.svg)](https://www.npmjs.com/package/fseh)\n\nHave you ever had to handle an event differently depending on the state of your application? *fseh* lets you create\nstate-aware event handler that execute different code depending on the current state of your application.\n\nIt's basically an implementation of a Finite State Machine, optimized to be used where callbacks and event handlers are\nexpected.\n\n## How to Install\n\n```bash\nnpm install fseh\n```\n\n## Introductory example\n\nHere's a quick Node.js/Expressjs example. Suppose you what your web application to automatically respond with a standard\nerror message when the application is not ready or down for maintenance: you could check for the current state in all\nyour routes:\n\n```js\nvar express = require('express')\n  , app = express()\n  , ready = false;\n\napp.get('/', function(req, res) {\n  if (ready) {\n    res.send(\"Thanks for GETting\");\n  } else {\n    res.status(503).send(\"Sorry, I'm not ready yet...\");\n  }\n});  \napp.post('/', function(req, res) {\n  if (ready) {\n    res.send(\"Thanks for POSTing\");\n  } else {\n    res.status(503).send(\"Sorry, I'm not ready yet...\");\n  }\n});  \napp.listen(8080);\n\n// connect to a db and perform other init stuff...\n// ... or just wait 5 seconds\nsetTimeout(function() {\n  ready = true;\n}, 5000);\n```\n\nA better approach would be to create a middleware to do the job:\n\n```js\nfunction checkIfReady(req, res, next) {\n  if (ready) {\n    next();\n  } else {\n    res.status(503).send(\"Sorry, I'm not ready yet...\");\n  }\n}\n\napp.get('/', checkIfReady, function(req, res) {\n  res.send(\"Thanks for GETting\");\n});  \napp.post('/', checkIfReady, function(req, res) {\n  res.send(\"Thanks for POSTing\");\n});  \n```\n\nThings would get immediately more complicated if you'd like to handle different types of requests differently or if there's\na greater variety of states that just ready or not. fseh least you define a Finite State Machine (FSM) and event handlers\nfor each state.\n\n```js\nvar Machine = require('fseh').Machine\n  , express = require('express')\n  , app = express()\n\nvar fsm = new Machine({\n  \"setup\": {\n    \"request\": function(req, res) {\n      res.status(503).send(\"Sorry, I'm not ready yet...\");\n    },\n    \"setup-completed\": function() {\n      this.enter('ready');\n    }\n  },\n  \"ready\": {\n    \"request\": function(req, res, next) {\n      next();\n    }\n  }\n}, 'setup');\n\napp.use(fsm.eventHandler('request'));\n\napp.get('/', function(req, res) {\n  res.send(\"Thanks for GETting\");\n});  \napp.post('/', function(req, res) {\n  res.send(\"Thanks for POSTing\");\n});  \napp.listen(8080);\n\nsetTimeout(fsm.eventHandler('setup-completed'), 5000);\n```\n\nIn the example above we've defined a state machine that supports two states, called `setup` and `ready`, and the handles\nthe `request` event differently depending on the state. In the example, the initial state is set up `setup` in the constructor\nand the machine transits to the `ready` state after 5 seconds, when a timer expire triggering a `setup-completed` event.\nWe then create an event handler for the `request` event that it's simply used as a Expressjs middleware.\n\n![Simple FSM](doc/fsm1.png \"Simple Finite State Machine\")\n\nThis is just a very simple scenario: fseh can be used to handle much more complex state machines, like, for instance,\na WebRTC negotiation, where several messages need to be exchanged between two or more parties and the receipt of a message\nmight need a radically different handling depending on the current negotiation state.\n\n## Usage\n\nFinite State Machines are created instantiating a `Machine` with a `StateTable`, that is a collection of states and the\ncorresponding events for each state.\n\n```js\nvar Machine = require('fseh').Machine\n\nvar fsm = new Machine({\n  \"start\": {\n    \"setup\": () => {\n      this.enter(\"ready\");\n    }\n  },\n  \"ready\": {\n    \"introduce\": () => {\n      return `Hi, I'm a state machine`;\n    },\n    \"greet\": name => {\n      return `Hi ${name}!`;\n    },\n    \"meet\": name => {\n      return `Nice to meet you, ${name}!`;\n    }\n  }\n});\n```\n\nThe example above, creates a FSM with two states: a `start` state, that can only handle a `setup` event, which will make\nit transit into the `ready` state. The `ready` state supports three events (`introduce`, `greet` and `meet`), all of\nwhich return strings.\n\nThere are three special event that can be defined in each state:\n- `entry`, triggered when the FSM enters the state\n- `exit`, triggered when the FSM is leaving a state\n- `*`, default event handler, triggered when a specific event handler was not found. If a default handler is not defined\nand an unknown event is received, an `Error('unhandled')` is returned.\n\nThere are also two special event handlers:\n- `defer`, the event is queue and the machine will attempt to precess it as soon as another state is entered. Defererred\nevents are processed after the `entry` event, if defined.\n- `noop`, the event is ignored, without throwing an error\n\n```js\nvar Machine = require('fseh').Machine\n\nvar fsm = new Machine({\n  \"start\": {\n    \"setup\": () => {\n      this.enter(\"ready\");\n    },\n    \"exit\": () => {\n      console.log('setup completed');\n    },\n    \"introduce\": \"defer\",\n    \"*\": () => {\n      return `Sorry, can't talk right now`;\n    }\n  },\n  \"ready\": {\n    \"entry\": () => {\n      console.log('ready to talk');\n    },\n    \"introduce\": () => {\n      return `Hi, I'm a state machine`;\n    },\n    \"greet\": name => {\n      return `Hi ${name}!`;\n    },\n    \"meet\": name => {\n      return `Nice to meet you, ${name}!`;\n    }\n  }\n});\n```\n\nIn the above example, the FSM will print to the console f`setup completed` and `ready to talk` when transiting from `setup`\nto `ready` and it'll return `Sorry, can't talk right now` is, for example, a `greet` event is received while in the\n`setup` state. On the other hand, an `introduce` event received in the `start` state will be deferred, i.e. queued and processed\nin the next state, which in turn could handle it, deferred it again, ignore it (`noop`) or throw an error.\n\nThe StateTable is defined in TypeScript as follows:\n\n```ts\nexport type EventHandler = (...args: any[]) => any;\n\nexport interface Handlers {\n  ['exit']?: EventHandler\n  ['entry']?: EventHandler\n  ['*']?: EventHandler | 'defer' | 'noop';\n  [name:string]: EventHandler | 'defer' | 'noop' | undefined\n}\n\nexport type StateTable = { [name:string]: Handlers };\n```\n\n### Machine(states:StateTable, initialState?:string)\n\nCreates a new state machine with the definition passed as `states` and, optionally, transits it to the `initialState`.\n\n### Machine.process(name:string, ...args:any[]):Promise<any>\n\nProcesses an event of type `name` in the current state: `args` are passed to the event handler, if any, and its return\nvalue is wrapped into a Promise. If no handler is found and no default handler is defined, the promise is rejected\nwith `Error('unhandled)`.\n\n### Machine.enter(state:string, ...args: any[]):Promise<any>\n\nTransits the machine to the specified `state`: `args` are passed to the entry event handler if defined its return\nvalue is wrapped into a Promise. If the state is unknown, the promise is rejected with `Error('unknown_state')`.\n\n### Machine.eventHandler(name:string): (...args: any[]) => Promise<any>\n\nCreates an event handler for the event `name`. An event handler is a function the can be passed as a callback to\nany javascript function or methods and that will trigger the execution of the correct event handler, based on the\ncurrent state of the state machine. The return value of the actual event handler is wrapped in a promise, and so is any\nexception that might be throw.\n\n### Machine.callbackEventHandler(name:string): (...args: any[]) => void\n\nCreates an event handler similar to the ones created by `Machine.eventHandler`, with the only exception that if the last\nargument is a function, it treats it as a node-style callback `function(err, data)` and uses it to return the outcome\nof the promise received by the event handler.\n","readmeFilename":"README.md","users":{"pintux":true}}