{"_id":"@emotionagency/parallax","_rev":"4-ec7394a7385a30955f5e0d481cc7009e","name":"@emotionagency/parallax","dist-tags":{"latest":"1.0.3"},"versions":{"1.0.0":{"name":"@emotionagency/parallax","version":"1.0.0","description":"Simple and lightweight library for creating parallax effect","main":"build/index.js","types":"build/index.d.ts","scripts":{"build":"webpack","pub":"npm run build && npm version patch && npm publish"},"keywords":["js","utilities","javascript","parallax","scrolling","animation","scroll","parallaxing"],"repository":{"type":"git","url":"git+https://github.com/letmewin22/emotionagency-parallax.git"},"author":{"name":"emotion-agency","email":"hello@emotion-agency.com"},"license":"MIT","bugs":{"url":"https://github.com/letmewin22/emotionagency-parallax/issues"},"homepage":"https://github.com/letmewin22/emotionagency-parallax#readme","devDependencies":{"@types/node":"^14.14.12","ts-loader":"^9.2.6","typescript":"^4.5.4","webpack":"^5.65.0","webpack-cli":"^4.9.1"},"dependencies":{"@emotionagency/utils":"*"},"gitHead":"5ce380baab74a2eddf74a1546d9806e97539b0f0","_id":"@emotionagency/parallax@1.0.0","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-aVu/aLH5Xb11WRGazFyyWN5QMf2NLtAIGj/Dz5iMyHTZFWfrdPQAwgCQRBvXqsxW6gMjJT5/LQi4WwfVWHM8JA==","shasum":"3f15978f6f5a7dfb21ca71c5af304c175d2e573c","tarball":"https://registry.npmjs.org/@emotionagency/parallax/-/parallax-1.0.0.tgz","fileCount":5,"unpackedSize":10002,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFN8YACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqzgQ//SNtYWOOGwvBcf34IP5maOMvGZPpvA1lbqecNYXvDOeYP1Rmd\r\nL9mwraPETAn8OCmdG+ZjXlr+RgEgeOOHYClj1D1J4LqB6JuJY3JBAzKt6b59\r\nF5oHOnsz2kG01gZgsVSEKvqA4tOwGaq4+keDhi6mbdeVRSv8XU9cHQVHGznc\r\nInjWswfYmY4k7ibgLv7r5pD37dtu64/ChfiFmz/QoiG05H8frd8quH/f5ajO\r\nNcrJueaiAeehXjKIszsdKBjiV/DJM6WWzzXF4BfsVf7xQhjytQIYBDiqvTF/\r\nEDEBDwGApTehW7EP5EwYZTWNCL6qGxnd0upHlLby0xC6W6ipcYLfZf5jMciW\r\n71luxYwMi4gpn6xE0QfgUCesAOTc/3zH9DmC7J7yA8kgKRDR5oV6tlrh5NQ5\r\nmdSuZCQjggRFcera+NM0YKPV8X+CFOtMwByO+Yo2T8scqUdO+y1xCJ+eYUou\r\n3uTBUPm3GAra2AMpG5qTub2iyT7pd+SIzKFtG/Y/BBPL+aFyTAbtyGMmTw7I\r\nnoTCTnWUslkR5il7U/kSL6tO7THs2LBtUSu3a/L2OU+30KBymEszF+/NmzCh\r\n948ld/ABritdUQ25U6vQGvbgaX/kVjr79YjvHmRWtD1FXpufT3QxBVQwFPAF\r\n1hArnUQQTneIRipubBkIEqRxlL3KpSXQOI8=\r\n=vsia\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+62cbLMoN9IgXVRikoMlsnLY2Yd0fz8rc6D4Vk7umbAiEAu/yVYCydoI8+Fup68OW8dbDNJm+we9HHwZYZO0d5fy8="}]},"_npmUser":{"name":"lkosteckyi","email":"hello@emotion-agency.com"},"directories":{},"maintainers":[{"name":"lkosteckyi","email":"hello@emotion-agency.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parallax_1.0.0_1645535000474_0.7356709301689388"},"_hasShrinkwrap":false},"1.0.1":{"name":"@emotionagency/parallax","version":"1.0.1","description":"Simple and lightweight library for creating parallax effect","main":"build/index.js","types":"build/src/index.d.ts","scripts":{"build":"webpack","pub":"npm run build && npm version patch && npm publish"},"keywords":["js","utilities","javascript","parallax","scrolling","animation","scroll","parallaxing"],"repository":{"type":"git","url":"git+https://github.com/letmewin22/emotionagency-parallax.git"},"author":{"name":"emotion-agency","email":"hello@emotion-agency.com"},"license":"MIT","bugs":{"url":"https://github.com/letmewin22/emotionagency-parallax/issues"},"homepage":"https://github.com/letmewin22/emotionagency-parallax#readme","devDependencies":{"@types/node":"^14.14.12","ts-loader":"^9.2.6","typescript":"^4.5.4","webpack":"^5.65.0","webpack-cli":"^4.9.1"},"dependencies":{"@emotionagency/utils":"*"},"gitHead":"e562f30e9f63913903c9c315946278cf650375e6","_id":"@emotionagency/parallax@1.0.1","_nodeVersion":"14.16.1","_npmVersion":"6.14.12","dist":{"integrity":"sha512-OPskLbku3RYXO4D2cbfPAQVmav5tgr/rUvxY93ziXdRgrZzgIRLmaHhwk3517wI0qNHSlmilvovAiTaFgxaa1g==","shasum":"2a80c2184bb1991bce5b83d5d752014f8f8b85e8","tarball":"https://registry.npmjs.org/@emotionagency/parallax/-/parallax-1.0.1.tgz","fileCount":5,"unpackedSize":10006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFOA7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqv4RAAovLyUg0UM1qyjo+4KUyapwmRhhm5HagU8Jd20xQRMHr1gXcp\r\ncztArBoTLqmyRDy9M9+cpFdbXftBoo822eKdAS8i+5ZtgDyA6hZvzzStTnQZ\r\n4sNYwYEXHRnBc9PCtWOVCu18KTadMV/uh/UzX4CLpaifmaJcXFs2Js0PpK5e\r\niXST6Z1lM/wluIe0Md+AZUnQjeQp0mI74q6cK8LJral08wOUI2Rw8XWqNAij\r\n0fAKhSKtBtZpWcqtM4tQETG4U9fyNbl06W0G9zFE97+mfG4tTFFyn54GhN4N\r\n70KxBotR+mggCpZhDvWH44vI+VrIcdEomy0CCtRXrTlKoUCOzHieWYVMJQgA\r\nxsnUvlVlfkY0+X/TP7mbRKFFE1XWbyN7Iahrq9RJgjVfFrpAU+DrgcD7nSqi\r\n81sIdDOcy0pQ1Q0Cm26eqtiCKnLEoQhy37PEswVwoAO2K6+uH9KTWObrUrnJ\r\nrfNDyz0GV8OoopSCeN8JDInKcNWxzWdciF0pgyH5SYgUJXYEDPd8Z9hPnnPs\r\nBNIGlFU5C7QoeZBagGErVoAgqNIr37D3eIXZPO3zhosSxoHSl7MbcF9/AZqD\r\nZpC1ERCZRM/wmP5fDMGbFTJd3k0U6AkaxVdMr3G6xwllQd37O3UAaRE7AMLf\r\n3e0g2jVvZOp6lngSw1b0jSVrWMxRIti8+Mo=\r\n=zOn3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvGPzet/zS0DAFluCP+LEJ3eCKygCW+i/4t4/iFnusnwIhAMdxI+iX4A0ARrgdUhrID2xbcWFm3zWJC5u+VLDPBS88"}]},"_npmUser":{"name":"lkosteckyi","email":"hello@emotion-agency.com"},"directories":{},"maintainers":[{"name":"lkosteckyi","email":"hello@emotion-agency.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parallax_1.0.1_1645535291030_0.2978662332725106"},"_hasShrinkwrap":false},"1.0.2":{"name":"@emotionagency/parallax","version":"1.0.2","description":"Simple and lightweight library for creating parallax effect","main":"build/index.js","types":"build/src/index.d.ts","scripts":{"build":"webpack","pub":"npm run build && npm version patch && npm publish"},"keywords":["js","utilities","javascript","parallax","scrolling","animation","scroll","parallaxing"],"repository":{"type":"git","url":"git+https://github.com/letmewin22/emotionagency-parallax.git"},"author":{"name":"emotion-agency","email":"hello@emotion-agency.com"},"license":"MIT","bugs":{"url":"https://github.com/letmewin22/emotionagency-parallax/issues"},"homepage":"https://github.com/letmewin22/emotionagency-parallax#readme","devDependencies":{"@types/node":"^14.14.12","ts-loader":"^9.2.6","typescript":"^4.5.4","webpack":"^5.65.0","webpack-cli":"^4.9.1"},"dependencies":{"@emotionagency/utils":"*"},"gitHead":"ee0d92a051431f54060ba9ce08f75cada6373c80","_id":"@emotionagency/parallax@1.0.2","_nodeVersion":"16.13.0","_npmVersion":"8.1.0","dist":{"integrity":"sha512-VzjlpxXkTeIJnXqmuE/xIasUPw6LiUBPDMQYdzbRmvwJLqPSnFscXY+oaCbcZslRzc7P57NbwIs+X+iCzvm8gw==","shasum":"e20ebc02ef4cc40083a9ae639723d118d88a523a","tarball":"https://registry.npmjs.org/@emotionagency/parallax/-/parallax-1.0.2.tgz","fileCount":5,"unpackedSize":10273,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiFdxbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq90w/+JyW5PCWJbY9jNLyqjRsQoZpb2QNC38Hh2qlGEJmvX/pSi6rJ\r\nSPgtVKqh7/LcaaUtbrImi6FYtI43kjt36tr43mYjFsdIL/6K/48MJZottGBA\r\n/prXntNwRjww1LXwtyaIXELy3JGItim/274JjbzeVIxcgfHKYQBNA2EmLW87\r\nhDuqN4s8fhhUv4Z2f+buEQEXdRaTPNcl1Rt6SxTT5tB5DHim4mFLSJXBzIHS\r\nwv+0NP8j2k1sAM2/u9KTYgNAURclbRcQwdKDNG/dxTKsDO8wREON4cFaYcTG\r\n1wA4qZEuSiWO7OG02mrH0ryA191jney5q5WsdiilKo/Bk6UoHQHsmg5jYDHt\r\nVNW7MHzSBgdTWlndD6vOpW+iVOe72x/v28PZSS38dwVRya07iU3LTlyaNi/o\r\nqMM1khDnfj8KJ48ZQ2JZIj75i/5twOgF5+kJZAktgCmqC7DhW5+6qCpQxXRT\r\n35X7raoLQaPCBIxPd00ngIB53fkOhJLQX/pcQH9xjIQUz2itlzlqyeDJmfdg\r\nhS+foawHzf5CAWl4jZkaZtfq1H6D9X9j3hwghkCg0hEswuz937EoErvzr1HU\r\nVcPSpeyK/5GcPwVeP7/I3cJMozZllCqaVNUYQ0NAbyTwVn1hNVFVEi+FtQvx\r\nG+LGFPhMj40vGGWIWm6F73fAyFt3/THX/r8=\r\n=5R+k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDQmL7jfVU+Yc1xVkcTtuwOx7U7qqFTr77Qk7+vQAuBEAiBlw1L4qK2xC9/Ehki3KGqKKZJxxITS9WqiRl8zq1bhcw=="}]},"_npmUser":{"name":"lkosteckyi","email":"hello@emotion-agency.com"},"directories":{},"maintainers":[{"name":"lkosteckyi","email":"hello@emotion-agency.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parallax_1.0.2_1645599835484_0.9573195777008656"},"_hasShrinkwrap":false},"1.0.3":{"name":"@emotionagency/parallax","version":"1.0.3","description":"Simple and lightweight library for creating parallax effect","main":"build/index.js","types":"build/src/index.d.ts","scripts":{"build":"webpack","pub":"npm run build && npm version patch && npm publish"},"keywords":["js","utilities","javascript","parallax","scrolling","animation","scroll","parallaxing"],"repository":{"type":"git","url":"git+https://github.com/letmewin22/emotionagency-parallax.git"},"author":{"name":"emotion-agency","email":"hello@emotion-agency.com"},"license":"MIT","bugs":{"url":"https://github.com/letmewin22/emotionagency-parallax/issues"},"homepage":"https://github.com/letmewin22/emotionagency-parallax#readme","devDependencies":{"@types/node":"^14.14.12","ts-loader":"^9.2.6","typescript":"^4.5.4","webpack":"^5.65.0","webpack-cli":"^4.9.1"},"dependencies":{"@emotionagency/utils":"*"},"gitHead":"3a40ad93145428ae2052709a9b186ae1ba9e3432","_id":"@emotionagency/parallax@1.0.3","_nodeVersion":"16.13.0","_npmVersion":"8.5.1","dist":{"integrity":"sha512-/WuhIQz6xO/7v4K/fCLRoem9YE9ZrcDSHFhD1I3UX5/OhjgtKbRe4L5lNM/BMg5JtDWt61f8BFoSWWIjMLjDtQ==","shasum":"6c47b1ee929b06860af75a4eddf9fb5ae1e15ec5","tarball":"https://registry.npmjs.org/@emotionagency/parallax/-/parallax-1.0.3.tgz","fileCount":5,"unpackedSize":10341,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDSAW+zrxuPm7tBSjYn05abkwCAFpQRpkTRhAul4477qQIhAM2zerLYIF3LQ3Z//P8x/K6dDVFmA2vSzc9GKBckz6zq"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjEw4/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUuQ//fmjaHzNHncVLZjTbO+M/5pI24X6PVRNMFBPWwYygxbBTWjr5\r\nHPH1uerr+FwPsbLhWzowgZpPYn7UxtyuUp7S/NMZ3tUv22mHcK43he68ADQp\r\n1HIlw//pJN4tiNrfAmblTh8VRXR1rHztv+geNA6MDcH6t8GvJDEJIfnOMunE\r\nTUd+cDrs+hfbO5v96lSD7NtK6fTB8+nK4PTf++YWXc4Y5FKjes4jKYNZAuG9\r\n3v75cLyhQryYARXb5A/Oi05BQOJkrPo46u0ShKW5b1QDIJ8N5ESk1L2WZJUG\r\n6wRNrjXFCyYr54gxkit4GfNh22UMokjtJ866P+sE43jYH919KZK/Bkv+uAa6\r\nEedwtH5TSX2COezSdDfWAchl4lSZO+IrncnJ5OELPjkn/+THOR+5JB6e/0rP\r\n4Do5s1wjm/PJcaj8SvavJtJ5jMgjb6Zmt/4ATExoyta0/ZJ7j3bYGCYzwcys\r\nr3mgoSce6PASW2KORc+Rfb1LjV5Ij8un7/1/lus9/3N8jFUru69ywYdr0aYU\r\nLPy8DdTd7GYo3Z4othIW1yvehI9ra+oOjCwaKfATbGBve4mB/BUQ/GhV+vUc\r\nTCLrItAclEgMN4QxwaSCRqadPAFdCRcnrErwH7V5pPf4JnD2GTaD4U/UJPnZ\r\nSksxoOuFrKxLELZn0YsRdbEsP1gx7AwOqYg=\r\n=U54k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"lkosteckyi","email":"hello@emotion-agency.com"},"directories":{},"maintainers":[{"name":"lkosteckyi","email":"hello@emotion-agency.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/parallax_1.0.3_1662193215272_0.8009728482486222"},"_hasShrinkwrap":false}},"time":{"created":"2022-02-22T13:03:20.354Z","1.0.0":"2022-02-22T13:03:20.641Z","modified":"2022-09-03T08:20:15.517Z","1.0.1":"2022-02-22T13:08:11.131Z","1.0.2":"2022-02-23T07:03:55.623Z","1.0.3":"2022-09-03T08:20:15.431Z"},"maintainers":[{"name":"lkosteckyi","email":"hello@emotion-agency.com"}],"description":"Simple and lightweight library for creating parallax effect","homepage":"https://github.com/letmewin22/emotionagency-parallax#readme","keywords":["js","utilities","javascript","parallax","scrolling","animation","scroll","parallaxing"],"repository":{"type":"git","url":"git+https://github.com/letmewin22/emotionagency-parallax.git"},"author":{"name":"emotion-agency","email":"hello@emotion-agency.com"},"bugs":{"url":"https://github.com/letmewin22/emotionagency-parallax/issues"},"license":"MIT","readme":"Simple and lightweight library for creating parallax effect\n\n# Instalation\n\n`npm i @emotionagency/parallax`\n\nor\n\n`yarn add @emotionagency/parallax`\n\n# Usage\n\nBasic example\n```\nimport {Parallax} from '@emotionagency/parallax'\n\nconst parallax = new Parallax()\n\n<div data-parallax=\"0.06\"></div> // parallax power, [data-parallax] is the selector that makes the script work\n<div data-parallax=\"0.06\" data-parallax-scale=\"1.07\"></div> // scale elem if you need\n<div data-parallax=\"0.06\" data-parallax-dir=\"-1\"></div> // parallax direction (default is 1)\n```\n\nDestroy instance\n\n```\nimport {Parallax} from '@emotionagency/parallax'\n\nconst parallax = new Parallax()\n\nparallax.destroy()\n```\n\nUpdate nodes\n\n```\nimport {Parallax} from '@emotionagency/parallax'\n\nconst parallax = new Parallax()\n\nparallax.update()\n```\n\nReset position\n\n```\nimport {Parallax} from '@emotionagency/parallax'\n\nconst parallax = new Parallax()\n\nparallax.reset()\n```\n\n\n## Instance options\n\n| Option                  | Type      | Default                | Description                                                                                                                                                                                                                                                                                        |\n| ----------------------- | --------- | ---------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| `inViewDetection`                    | `boolean`  | `true`             | Animation will only happen if the element is in view                                           \n| `mobile`                | `boolean`| `true`                |  If true, it will work on mobile devices too.\n| `breakpoint`                | `number`| `960`                |  If mobile is selected false, then this value indicates when the parallax will be disabled.","readmeFilename":"README.md"}