{"name":"react-spring","version":"5.6.0-beta2","keywords":["react","motion","animated","animation","spring"],"author":{"name":"Paul Henschel"},"license":"ISC","_id":"react-spring@5.6.0-beta2","homepage":"https://github.com/drcmda/react-spring#readme","bugs":{"url":"https://github.com/drcmda/react-spring/issues"},"dist":{"shasum":"a7f04c5253d8078ea55f8e888d5ea70b7cf334b5","tarball":"http://registry-npm.ywwl.com/react-spring/download/react-spring-5.6.0-beta2.tgz","fileCount":54,"integrity":"sha512-lWIYyxWG5Q1pRMyuBA8KAB535Ok1N84y/UN8n6GQ4jeKZ4agu/EgZdSxopv+1Wr4RG07bNmwk4P32gMRplY6vw==","signatures":[{"sig":"MEQCIQCNt5WiIoKBOV9/eq/QD3ds4V1LOJSaqaFlNXxfPEjOLwIfJJ44HrRFR/uEs+gjcEUQaUqcKmg78m8cpYS27GH/gg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":750316,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbBQICRA9TVsSAnZWagAAg+MP/2fBC+PU5lLLTLnLjoNw\nBUk+mmizXlTKtojmhgvAnR2K7m6w/c2hfUxyRVtcuzRBqLyRUQazqmD7nUAP\nze8qT3/4QZd/kBkTKodyRMcGuAkeXQ16OjnusW4q1jqvPkJ8w3Zs9uKRMstz\nQIx2t97N8CwtKdbQXgbueu8Ep+PVzXBV+5LtHmbtEequMaWqudgW8NRJqXEI\n092R3eqrq5ucumShMZ4Dgj30zkalwW7x0TLe57RO/s/YTn8rurTjuFELqxqw\nbTsgaFCZv1lqhID16PtPut347Y5EXKUGNsr3t2GMChSlAa6FV7r0LSRNHOVS\nNeLwHptgBCMP311YpYm0CwuIW7PoQ+58zoG0MqPOIQ+A0OZ1HKABwQ7UqLYG\nmu2xi4mSa9ikuUO1czLTiSzs6DtWFDlVbps3aHBmM9/dOuDucNl0TjicPOGS\nP3iqDd4bg9F85cqG+XMPG1uA8XQCmwM+YRvy5T3z0us9YilyLBcVRUbKxR8u\nYqrVeyKUZHzgObieQAwWACNzu2hI4eQmBR8fhccKwps9xL1hn96nAbDunMxc\nhHqgEoFFHolIAXPQL/aLEIzq1tbJsRofryqBnsCGl7fYcIeqMAjEV4RyBWzx\n0GUVVQnN98lijD83fjtyyHrltxjInaCPGFiSdo1s3AZvw3gJ9BM0Pd/nqiyX\ni4J9\r\n=GFFv\r\n-----END PGP SIGNATURE-----\r\n","size":186205,"noattachment":false,"key":"/react-spring/-/react-spring-5.6.0-beta2.tgz"},"jest":{"testRegex":"(/tests/.*|(\\.|/)(test|spec))\\.jsx?$","setupFiles":["./tests/jest.setup.js"],"collectCoverage":true,"coverageDirectory":"./coverage/","snapshotSerializers":["enzyme-to-json/serializer"],"testPathIgnorePatterns":["/node_modules/","jest"]},"main":"dist/web.cjs.js","files":["dist","src","API.md","index.d.ts"],"husky":{"hooks":{"pre-commit":"lint-staged"}},"module":"dist/web.js","gitHead":"5ad294882dd77267ba6a48e0aba9f706f971c4ff","scripts":{"test":"jest","build":"rollup -c","prepare":"npm run build","test:ts":"tsc --noEmit","prebuild":"rimraf dist","postinstall":"node -e \"console.log('\\u001b[35m\\u001b[1mEnjoy react-spring? You can now donate to our open collective:\\u001b[22m\\u001b[39m\\n > \\u001b[34mhttps://opencollective.com/react-spring/donate\\u001b[0m')\""},"typings":"index.d.ts","_npmUser":{"name":"drcmda","email":"drcmda@gmail.com"},"prettier":{"semi":false,"tabWidth":2,"printWidth":80,"singleQuote":true,"trailingComma":"es5","jsxBracketSameLine":true},"collective":{"url":"https://opencollective.com/react-spring","type":"opencollective"},"repository":{"url":"git+https://github.com/drcmda/react-spring.git","type":"git"},"_npmVersion":"6.2.0","description":"Animate React with ease","directories":{},"lint-staged":{"*.{js,md}":["prettier --write","git add"]},"sideEffects":false,"_nodeVersion":"10.8.0","dependencies":{"@babel/runtime":"7.0.0-beta.51"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"jest":"^23.3.0","husky":"^1.0.0-rc.12","react":"^16.4.1","slash":"^2.0.0","enzyme":"^3.3.0","rimraf":"2.6.2","rollup":"0.62.0","prettier":"^1.13.7","react-dom":"^16.4.1","babel-core":"7.0.0-bridge.0","babel-jest":"^23.2.0","typescript":"^2.9.2","@babel/core":"7.0.0-beta.51","lint-staged":"^7.2.0","@types/react":"^16.4.6","enzyme-to-json":"^3.3.4","@babel/preset-env":"7.0.0-beta.51","@babel/preset-react":"7.0.0-beta.51","react-test-renderer":"^16.4.1","rollup-plugin-babel":"^4.0.0-beta.4","rollup-plugin-uglify":"^4.0.0","@babel/preset-stage-3":"^7.0.0-beta.51","rollup-plugin-commonjs":"^9.1.3","enzyme-adapter-react-16":"^1.1.1","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-size-snapshot":"^0.6.0","@babel/plugin-transform-runtime":"^7.0.0-beta.51","babel-plugin-transform-react-remove-prop-types":"0.4.13"},"peerDependencies":{"react":">= 16.4.0","react-dom":">= 16.4.0","prop-types":"15.x.x"},"_npmOperationalInternal":{"tmp":"tmp/react-spring_5.6.0-beta2_1533809671634_0.46865624410824824","host":"s3://npm-registry-packages"},"readme":"<p align=\"center\">\n  <img src=\"https://i.imgur.com/QZownhg.png\" width=\"240\" />\n</p>\n\n<br />\n\n<h1 align=\"center\">react-spring</h1>\n<h3 align=\"center\">A spring-physics first animation library <br>giving you flexible tools to confidently cast your ideas</h3>\n\n<br>\n\n<p align=\"center\">\n  <a href=\"https://www.npmjs.com/package/react-spring\" target=\"_blank\">\n    <img src=\"https://img.shields.io/npm/v/react-spring.svg?style=flat&colorA=000000&colorB=000000\" />\n  </a>\n  <a href=\"https://www.npmjs.com/package/react-spring\" target=\"_blank\">\n    <img src=\"https://img.shields.io/npm/dm/react-spring.svg?style=flat&colorA=000000&colorB=000000\" />\n  </a>\n  <a href=\"https://discord.gg/ZZjjNvJ\" target=\"_blank\">\n    <img src=\"https://img.shields.io/discord/740090768164651008?style=flat&colorA=000000&colorB=000000&label=discord&logo=discord&logoColor=ffffff\" alt=\"Chat on Discord\">\n  </a>\n</p>\n\n<br>\n\n`react-spring` is a cross-platform spring-physics first animation library.\n\nIt's as simple as:\n\n```jsx\nconst styles = useSpring({\n  from: {\n    opacity: 0\n  },\n  to: {\n    opacity: 1\n  }\n})\n\n<animated.div style={styles} />\n```\n\nJust a small bit about us:\n\n- **Cross-Platform**: We support `react-dom`, `react-native`, `react-three-fiber`, `react-konva` & `react-zdog`.\n- **Versatile**: Be declarative with your animations or if you prefer, imperative.\n- **Spring-Physics First**: By default animation use springs for fluid interactivity, but we support durations with easings as well.\n\nThere's a lot more to be had! Give it a try and find out.\n\n## Getting Started\n\n### ⚡️ Jump Start\n\n```shell\n# Install the entire library\nnpm install react-spring\n# or just install your specific target (recommended)\nnpm install @react-spring/web\n```\n\n```jsx\nimport { animated, useSpring } from '@react-spring/web'\n\nconst FadeIn = ({ isVisible, children }) => {\n  const styles = useSpring({\n    opacity: isVisible ? 1 : 0,\n    y: isVisible ? 0 : 24,\n  })\n\n  return <animated.div style={styles}>{children}</animated.div>\n}\n```\n\nIt's as simple as that to create scroll-in animations when value of `isVisible` is toggled.\n\n### 📖 Documentation and Examples\n\nMore documentation on the project can be found [here](https://www.react-spring.io).\n\nPages contain their own [examples](https://react-spring.io/hooks/use-spring#demos) which you can check out there, or [open in codesandbox](https://codesandbox.io/s/github/pmndrs/react-spring/tree/main/demo/src/sandboxes/card) for a more in-depth view!\n\n---\n\n## 📣 What others say\n\n<p align=\"middle\">\n  <img src=\"assets/testimonies.jpg\" />\n</p>\n\n## Used by\n\n<p align=\"middle\">\n  <a href=\"https://nextjs.org/\"><img width=\"285\" src=\"assets/projects/next.png\"></a>\n  <a href=\"https://codesandbox.io/\"><img width=\"285\" src=\"assets/projects/csb.png\"></a>\n  <a href=\"https://aragon.org/\"><img width=\"285\" src=\"assets/projects/aragon.png\"></a>\n</p>\n\nAnd [many others...](https://github.com/pmndrs/react-spring/network/dependents)\n\n## Backers\n\nThank you to all our backers! 🙏 If you want to join them here, then consider contributing to our [Opencollective](https://opencollective.com/react-spring).\n\n<a href=\"https://opencollective.com/react-spring#backers\" target=\"_blank\">\n  <img src=\"https://opencollective.com/react-spring/backers.svg?width=890\"/>\n</a>\n\n## Contributors\n\nThis project exists thanks to all the people who contribute.\n\n<a href=\"https://github.com/react-spring/react-spring/graphs/contributors\">\n  <img src=\"https://opencollective.com/react-spring/contributors.svg?width=890\" />\n</a>\n","publish_time":1533809671693,"maintainers":[{"name":"drcmda","email":"drcmda@gmail.com"},{"name":"tdfka_rick","email":"Joshua.ellis18@gmail.com"}],"_cnpm_publish_time":1533809671693,"dist-tags":{"alpha":"9.4.0-alpha.0","beta":"10.0.2-beta.0","deprecated":"0.0.0-deprecated","experimental":"0.0.0-65fc02cc281573bc28d90720983c8e9df9035059-20230625170003","latest":"10.0.4","nightly":"0.0.0-nightly-52cc710-20230626001840"}}