{"_id":"@apatheticwes/trigger","_rev":"4-45a7bd2f7e7b1699ab4df9cb61cee2fd","name":"@apatheticwes/trigger","description":"A simple trigger on page scroll","dist-tags":{"latest":"0.2.0"},"versions":{"0.1.0":{"name":"@apatheticwes/trigger","author":{"name":"wes hatch"},"license":"MIT","version":"0.1.0","description":"A simple trigger on page scroll","main":"./dist/trigger.cjs.js","broswer":"./dist/trigger.min.js","jsnext:main":"./dist/trigger.es6.js","repository":{"type":"git","url":"git+https://github.com/apathetic/trigger.git"},"keywords":["js","scroll"],"scripts":{"start":"http-server ./ -p 8080 -d","clean":"rm -f dist/*.js*","build":"npm run clean && npm run lint && rollup -c","lint":"eslint source/js/*.js","test":"#tape -r babel-register test/*.js"},"dependencies":{"eslint":"^3.1.1","http-server":"^0.9.0","rollup":"^0.34.1","rollup-plugin-buble":"^0.12.1","rollup-plugin-uglify":"^1.0.1","tape":"^4.6.0","uglify-js":"^2.7.0"},"gitHead":"1c2f5cc27dcdc017c94913590b19ffe852c1a8f1","bugs":{"url":"https://github.com/apathetic/trigger/issues"},"homepage":"https://github.com/apathetic/trigger#readme","_id":"@apatheticwes/trigger@0.1.0","_shasum":"c76a52b425ab013fa69f6e4097ccc9acd6231aae","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.2.2","_npmUser":{"name":"apatheticwes","email":"wes.hatch@gmail.com"},"dist":{"shasum":"c76a52b425ab013fa69f6e4097ccc9acd6231aae","tarball":"https://registry.npmjs.org/@apatheticwes/trigger/-/trigger-0.1.0.tgz","integrity":"sha512-M3vRzFvyBEhgwtVz+5YK6hag3jjLq/XPDhHiJ8XX7+0xnQ+UBd2uyzx4D07YEtUQhb6wv4Pio0C0nqGN2qSe+A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIByV8+loOyHZG3BivXLaS8vM6HzlsWs3zTuKaRx9/ul8AiEA0Fy9dtvSCv1A0j8eu0DlO/HmXFz05lo2DC5pphat2TY="}]},"maintainers":[{"name":"apatheticwes","email":"wes.hatch@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/trigger-0.1.0.tgz_1471461661890_0.29265107586979866"}},"0.2.0":{"name":"@apatheticwes/trigger","author":{"name":"wes hatch"},"license":"MIT","version":"0.2.0","description":"A simple trigger on page scroll","main":"./dist/trigger.cjs.js","broswer":"./dist/trigger.min.js","jsnext:main":"./dist/trigger.es6.js","repository":{"type":"git","url":"git+https://github.com/apathetic/trigger.git"},"keywords":["js","scroll"],"scripts":{"start":"http-server ./ -p 8080 -d","clean":"rm -f dist/*.js*","build":"npm run clean && npm run lint && rollup -c","lint":"eslint source/js/*.js"},"dependencies":{"eslint":"^3.1.1","http-server":"^0.9.0","rollup":"^0.50.0","rollup-plugin-buble":"^0.16.0","rollup-plugin-uglify":"^2.0.1","uglify-es":"^3.1.3"},"gitHead":"a6aa11560eb51003cb34dedc6fc8bb245e0c5e61","bugs":{"url":"https://github.com/apathetic/trigger/issues"},"homepage":"https://github.com/apathetic/trigger#readme","_id":"@apatheticwes/trigger@0.2.0","_shasum":"a8c7762ae9bbd13453b6715926be8532002101a4","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.5","_npmUser":{"name":"apatheticwes","email":"wes.hatch@gmail.com"},"dist":{"shasum":"a8c7762ae9bbd13453b6715926be8532002101a4","tarball":"https://registry.npmjs.org/@apatheticwes/trigger/-/trigger-0.2.0.tgz","integrity":"sha512-C5HEEw8S94kLOIjrqWVsYF5zv1Q9h7ZuiSUpm8WuLlTYkrCq66pYf9E1+DJXMWNrZb7u8jQbMgxm2xjGTfm7bw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBvRlEIzHzrjG/TmKCbCdy7htqbbItySSo4WNILT4rZyAiBH35WpaXAmypx5mu9iGxMQChfYtuRJ+mP/9v2dviSmFg=="}]},"maintainers":[{"name":"apatheticwes","email":"wes.hatch@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/trigger-0.2.0.tgz_1511295190170_0.2624297619331628"}}},"readme":"# Trigger\n\nAdd a class on scroll.\n\n## About\n\nA simple and lightweight way to trigger the addition of a CSS class _once_ on scroll.\nThis is useful to create subtle scroll effects, for example if you wish to draw attention to a particular element.\n\n## Getting Started\nThere is an ES6 module you may consume however you wish. Then:\n\n```javascript\nvar triggers = document.querySelectorAll('.animatable');\nvar delay = 300;\nTrigger(triggers, delay);\n```\n\n## Options\n\n| name            | description |\n| --------------- | ----------- |\n| delay           | The number of pixels to delay triggering the class. |\n\n## Demo\n\nAfter cloning the repo:\n```\nnpm i\nnpm start\n```\n\nA server will spin up at ```http://localhost:8080```, where you may play with the various examples.\n\n## Support\n* IE8+\n* Safari / Chrome\n* Firefox\n* iOS\n* Android 4.0+\n\n## Examples\n\nPlease see the _test / demo_ directory\n\n## Release History\n\n### 0.1\n* first release\n","maintainers":[{"name":"apatheticwes","email":"wes.hatch@gmail.com"}],"time":{"modified":"2022-06-12T14:43:31.846Z","created":"2016-08-17T19:21:03.964Z","0.1.0":"2016-08-17T19:21:03.964Z","0.2.0":"2017-11-21T20:13:11.329Z"},"homepage":"https://github.com/apathetic/trigger#readme","keywords":["js","scroll"],"repository":{"type":"git","url":"git+https://github.com/apathetic/trigger.git"},"author":{"name":"wes hatch"},"bugs":{"url":"https://github.com/apathetic/trigger/issues"},"license":"MIT","readmeFilename":"README.md"}