{"versions":{"0.1.0":{"name":"animation-easings","version":"0.1.0","description":"Animation easing functions","main":"src/index.js","module":"src/index.js","jsnext:main":"src/index.js","scripts":{},"repository":{"type":"git","url":"git+https://github.com/fuzhenn/animation-easings.git"},"bugs":{"url":"https://github.com/fuzhenn/animation-easings/issues"},"homepage":"https://github.com/fuzhenn/animation-easings","keywords":["animation","easing"],"author":{"name":"fuzhenn"},"license":"MIT","dependencies":{},"devDependencies":{},"gitHead":"b0f9eb5bca43cd94cc65e6ce9932c0ad722c60dd","_id":"animation-easings@0.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.11.2","_npmUser":{"name":"anonymous","email":"fuzhen@maptalks.org"},"dist":{"integrity":"sha512-v+y9l1aOaW6ej81MJx2CwU3SRpOqzTBynZa6+/OdlS3WKN9Rv5rz90WxFmcCgtpOVTYdt+pLHJAQBhCIzRiCuw==","shasum":"acbd9ee4e187cef6ee9273bc498798798b014331","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/animation-easings/-/animation-easings-0.1.0.tgz","fileCount":4,"unpackedSize":12331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcHKP8CRA9TVsSAnZWagAAPwUP/0sdC2c69+C8t/vV2z3M\nbLrnbKGvhTTsPzDMdvbLUK5ffczozvQ9P7Mo8G+f2YR9aODT/e9lTa725F+F\nlIiOqrzSyPGp5Bk1BIK1G8NFbL4jFrS6X/v+o70CCZN2BaOMLwh+ge2+qZud\nkRxSiQYtQhdjDl3/bj09iq+bW8/mWnjbO2LFFyFyyvyPtY7XxBfXecdGyoaS\njT8+jYMZoRAKEsK52FeBRtyAjrcJgU186nc4kfR/FdvjZDyK/pipq0iScrur\nYQe+VNS8BIDAIHsgYOLxYkrnnr67kLQBWO/b14HVPWNOo0JbDeWIRaynRfjS\n4mqivbXP5o5QRx+BqPyk/GbFvG0T7fhoZ+HiS4yYHIiQZpQH8qg54BiY5sw3\nu+NSp1wdnWs2ojBmA9WMYnfG11RRo4wZckto4YFtlh9VGYUGhCQOW8BjHzJs\nlhMV5QShQvbFPJRRyeRzHTadODd/1CswgALVKcf4qyincHkO0IWq5a9Xmxoc\npoLy4sku+K+Ovg5t+tPRGbZJTLVcsNuKQ/Gh19NqZ+MP6Ucf76AFXjyBJD0b\nO9fd/T0SpiAJhTsndlmUd/e42jjSg+gJ6YSvhTKZoE3VauF7kTpMBvPAouXz\nl/lGYkVRDPtvTsv2ity6mXEtdP7+bFvjLgsjx0mbBegAWvLE2JqnurKnpyy+\njbWF\r\n=Y3j4\r\n-----END PGP SIGNATURE-----\r\n","size":3043},"maintainers":[{"name":"anonymous","email":"fuzhen@maptalks.org"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/animation-easings_0.1.0_1545380859773_0.47420789885946535"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2021-12-23T04:43:55.027Z","contributors":[]}},"dist-tags":{"latest":"0.1.0"},"name":"animation-easings","time":{"created":"2022-01-27T16:30:46.791Z","modified":"2022-01-27T16:30:46.791Z","0.1.0":"2018-12-21T08:27:39.878Z"},"readme":"# Animation-Easings\r\n\r\nA plain javascript and zero-dependency lib extracted from [jquery.easing](https://github.com/gdsmith/jquery.easing/) to compute animation easings.\r\n\r\n\r\n## Usage\r\n\r\n```shell\r\nnpm i animation-easings --save\r\n```\r\n\r\n```js\r\nimport easing from 'animation-easings';\r\n\r\nconst x = easing('easeOutExpo', 0.5);\r\n```\r\n\r\nor you can import perticular easing functions like below:\r\n\r\n```js\r\nimport { easingOutExpo } from 'animation-easings';\r\n\r\nconst x = easingOutExpo(0.5);\r\n```\r\n\r\n## API\r\n\r\n### easing(easing, x)\r\n\r\n* `easing` easing function\r\n* `x` animation fraction, from 0 to 1\r\n\r\nEasing functions:\r\n\r\n* swing\r\n* easeInQuad\r\n* easeOutQuad\r\n* easeInOutQuad\r\n* easeInCubic\r\n* easeOutCubic\r\n* easeInOutCubic\r\n* easeInQuart\r\n* easeOutQuart\r\n* easeInOutQuart\r\n* easeInQuint\r\n* easeOutQuint\r\n* easeInOutQuint\r\n* easeInSine\r\n* easeOutSine\r\n* easeInOutSine\r\n* easeInExpo\r\n* easeOutExpo\r\n* easeInOutExpo\r\n* easeInCirc\r\n* easeOutCirc\r\n* easeInOutCirc\r\n* easeInElastic\r\n* easeOutElastic\r\n* easeInOutElastic\r\n* easeInBack\r\n* easeOutBack\r\n* easeInOutBack\r\n* easeInBounce\r\n* easeOutBounce\r\n* easeInOutBounce","users":{}}