{"_id":"@alloc/easing","name":"@alloc/easing","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@alloc/easing","version":"1.0.0","description":"ESM-only fork of @gamestdio/easing","main":"dist/index.mjs","types":"dist/index.d.ts","license":"MIT","author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com"},"devDependencies":{"@types/mocha":"^5.2.0","@types/node":"^10.1.0","browserify":"^16.2.2","mocha":"^5.1.1","tape":"~2.13.2","ts-node":"^6.0.3","tsup":"^6.7.0","typescript":"^5.0.4"},"scripts":{"test":"mocha --require ts-node/register test/*.ts --exit","build":"tsup src/index.ts --format esm --dts --clean","prepublish":"tsup src/index.ts --format esm --dts --clean"},"repository":{"type":"git","url":"git://github.com/alloc/easing.git"},"keywords":["ease","eases","robert","penner","easing","easings","linear","lerp","animation","tween","anim","animations","tweening","tweens","function","functions","expo","quint","quadratic"],"gitHead":"ce0b27f42459a8a3abfb86807aca99f96d9789e6","bugs":{"url":"https://github.com/alloc/easing/issues"},"homepage":"https://github.com/alloc/easing#readme","_id":"@alloc/easing@1.0.0","_nodeVersion":"19.4.0","_npmVersion":"9.3.1","dist":{"integrity":"sha512-qLVwiQsAeWZd0zsQ74d3QtVHNjZvQFRK0azCA5uV4C1IWld+OksPE0Fsu5hJSkDbvQ+aFzMT2lRsr3nyooNJAA==","shasum":"9c4b184e80639219851fdcaa07abeb678b6a4c88","tarball":"https://registry.npmjs.org/@alloc/easing/-/easing-1.0.0.tgz","fileCount":5,"unpackedSize":10181,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCt7LjUlTAHx7B4yTvQat5OAQhylHPvnLunvEgJUlj0QQIgaDFo8+jykGiz94REhpq0gp/Bta06rUc1YWwCRhiIZIg="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRZkMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphFw/+KFeWNm1xtG+8Uq5f4syXG+cI1/kxsGrDKi5qjY4SHQHQrsuO\r\ntYFhL14xfPaXB0yvX+nFWCBQOOpSSK8J7rXKfxX5pQ7BQ8HR67sdQUHTy0+w\r\nKQ6cjswABpSbYMTRgcutWzcHn3k9GvgMJAK7ZKYSpVbiWwCwRCTpkD6Sfe5E\r\ny/j5IigAXQJqS3LAKd9jCZVMGL1CciR6s/l1bK1Xs+dHD1ZZ6gZU4WmiLyaM\r\n6yArPoZmOd2gzA+Z3AWx739ukqJrbe52s7TmKQu1SFNGmxA+9AT26Tk6OkoH\r\nI6x8qGSZlhyl+OgunoPGiQkxHU07ZKRQq+zkYXF0kNaxBpN0W7TvMf6zpCeO\r\ntvlqY9enWEPNzF8K/MIYiUlY9SJyaD07L2klWKe2zLGvXkVqnYAKY55idzmv\r\nit5OpdOFVbyLlNQxg2D/ZoyOjbpIe20OK7r8Ocao4uhIGrsCuNPL2LboJopf\r\n9sL9lLA+VJXmaCcdgraoFBApNJ+y2qSwKSrOeT1Vt08lS7tk3LbsZpJD7M3H\r\n7sH5rwWiqP0GnV+6L1vDydWpoaw1TIXB0kxOjDLOfH+yByfkER3DN/coOPOw\r\ntYU5lsNvjJ6bRNoB2KsV5KeQVwsLOXdXE1zwcPaDIAWogoqckXQxqvtUnBTd\r\n3nNC3NhVMae8IGV2EfBGbyg3v5YxHOh/v/o=\r\n=4Xi2\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aleclarson","email":"alec.stanford.larson@gmail.com"},"directories":{},"maintainers":[{"name":"aleclarson","email":"alec.stanford.larson@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/easing_1.0.0_1682282764345_0.31565015708921873"},"_hasShrinkwrap":false}},"time":{"created":"2023-04-23T20:46:04.267Z","1.0.0":"2023-04-23T20:46:04.527Z","modified":"2023-04-23T20:46:04.749Z"},"maintainers":[{"name":"aleclarson","email":"alec.stanford.larson@gmail.com"}],"description":"ESM-only fork of @gamestdio/easing","homepage":"https://github.com/alloc/easing#readme","keywords":["ease","eases","robert","penner","easing","easings","linear","lerp","animation","tween","anim","animations","tweening","tweens","function","functions","expo","quint","quadratic"],"repository":{"type":"git","url":"git://github.com/alloc/easing.git"},"author":{"name":"Matt DesLauriers","email":"dave.des@gmail.com"},"bugs":{"url":"https://github.com/alloc/easing/issues"},"license":"MIT","readme":"# @alloc/easing\n\nThis is an ESM-only fork of the `@gamestdio/easing` package. It's a grab-bag of [Robert Penner's easing equations](http://www.robertpenner.com/easing/), most of the code from [glsl-easings](https://www.npmjs.org/package/glsl-easings). Pull requests for optimizations are welcome.\n\n## Usage\n\n[![NPM](https://nodei.co/npm/@gamestdio/easing.png)](https://nodei.co/npm/@gamestdio/easing/)\n\nFull list of eases:\n\n```js\nimport { backInOut } from '@gamestdio/easing';\nimport { backIn } from '@gamestdio/easing';\nimport { backOut } from '@gamestdio/easing';\nimport { bounceInOut } from '@gamestdio/easing';\nimport { bounceIn } from '@gamestdio/easing';\nimport { bounceOut } from '@gamestdio/easing';\nimport { circInOut } from '@gamestdio/easing';\nimport { circIn } from '@gamestdio/easing';\nimport { circOut } from '@gamestdio/easing';\nimport { cubicInOut } from '@gamestdio/easing';\nimport { cubicIn } from '@gamestdio/easing';\nimport { cubicOut } from '@gamestdio/easing';\nimport { elasticInOut } from '@gamestdio/easing';\nimport { elasticIn } from '@gamestdio/easing';\nimport { elasticOut } from '@gamestdio/easing';\nimport { expoInOut } from '@gamestdio/easing';\nimport { expoIn } from '@gamestdio/easing';\nimport { expoOut } from '@gamestdio/easing';\nimport { linear } from '@gamestdio/easing';\nimport { quadInOut } from '@gamestdio/easing';\nimport { quadIn } from '@gamestdio/easing';\nimport { quadOut } from '@gamestdio/easing';\nimport { quartInOut } from '@gamestdio/easing';\nimport { quartIn } from '@gamestdio/easing';\nimport { quartOut } from '@gamestdio/easing';\nimport { quintInOut } from '@gamestdio/easing';\nimport { quintIn } from '@gamestdio/easing';\nimport { quintOut } from '@gamestdio/easing';\nimport { sineInOut } from '@gamestdio/easing';\nimport { sineIn } from '@gamestdio/easing';\nimport { sineOut } from '@gamestdio/easing';\n```\n\nAll easing functions only remap a time value, and all have the same signature.\n\n#### ```v = ease(t)```\n\nWhere `t` is typically a value between 0 and 1, and it returns a new float that has been eased.\n\n## License\n\nMIT, see [LICENSE.md](http://github.com/mattdesl/eases/blob/master/LICENSE.md) for details.\n","readmeFilename":"README.md"}