{"name":"formik","description":"Forms in React, without tears","version":"2.0.0-canary.effcf9b","license":"MIT","author":{"name":"Jared Palmer","email":"jared@palmer.net"},"repository":{"type":"git","url":"https://github.com/jaredpalmer/formik.git"},"keywords":["formik","react","react-dom","form","validation","forms","higher order component","hoc"],"main":"dist/index.js","module":"dist/formik.esm.js","typings":"dist/index.d.ts","peerDependencies":{"react":"^16.7.0-alpha.0"},"scripts":{"test":"jest --env=jsdom","test:watch":"npm run test -- --watch","start":"cp ./index.js ./dist/index.js && cross-env NODE_ENV=development rollup -w -c | tsc -w -p tsconfig.base.json","prebuild":"rimraf dist","build":"cross-env NODE_ENV=production tsc -p tsconfig.base.json  && rollup -c && rimraf compiled && cp ./index.js ./dist/index.js","prepublish":"npm run build","format":"prettier --trailing-comma es5 --single-quote --write 'src/**/*' 'test/**/*' 'README.md'","precommit":"lint-staged","storybook":"start-storybook -p 9001","addc":"all-contributors add","start-website":"cd website && yarn start","build-website":"cd website && yarn install && yarn build","gen-docs":"all-contributors generate && doctoc README.md","size":"size-limit"},"dependencies":{"create-react-context":"^0.2.2","deepmerge":"^2.1.1","hoist-non-react-statics":"^2.5.5","lodash":"^4.17.11","lodash-es":"^4.17.11","prop-types":"^15.6.1","react-fast-compare":"^2.0.1","tslib":"^1.9.3","warning":"^3.0.0"},"optionalDependencies":{},"resolutions":{"@types/react":"16.7.17","@types/react-dom":"16.0.11"},"devDependencies":{"@babel/core":"^7.1.2","@storybook/addon-options":"^3.4.8","@storybook/react":"^3.4.0","@types/jest":"^22.2.3","@types/lodash":"^4.14.119","@types/react":"^16.7.17","@types/react-dom":"^16.0.11","@types/warning":"^3.0.0","@types/yup":"^0.24.9","all-contributors-cli":"^4.4.0","awesome-typescript-loader":"^3.4.1","babel-plugin-annotate-pure-calls":"^0.4.0","babel-plugin-dev-expression":"^0.2.1","babel-plugin-transform-rename-import":"^2.3.0","cross-env":"5.0.5","doctoc":"^1.3.0","husky":"0.14.3","jest":"^23.1.0","jest-cli":"^23.1.0","lint-staged":"4.0.2","prettier":"1.11.1","raw-loader":"^0.5.1","react":"^16.7.0-alpha.2","react-dom":"^16.7.0-alpha.2","react-testing-library":"^5.2.3","rimraf":"^2.6.2","rollup":"^0.66.4","rollup-plugin-babel":"^4.0.3","rollup-plugin-commonjs":"^9.1.8","rollup-plugin-node-resolve":"^3.4.0","rollup-plugin-replace":"^2.1.0","rollup-plugin-size-snapshot":"^0.7.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-uglify":"^6.0.0","size-limit":"^0.17.0","ts-jest":"^22.4.6","tsc-watch":"^1.0.21","tslint":"^5.11.0","tslint-react":"^3.6.0","typescript":"^3.2.1","yup":"0.21.3"},"lint-staged":{"**/*.{ts,tsx}":["prettier --trailing-comma es5 --single-quote --write","git add"]},"prettier":{"trailingComma":"es5","singleQuote":true,"semi":true},"jest":{"collectCoverageFrom":["src/**/*.{ts,tsx}"],"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testMatch":["<rootDir>/test/**/?(*.)(spec|test).ts?(x)"],"transformIgnorePatterns":["[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"],"moduleFileExtensions":["ts","tsx","js","json"]},"size-limit":[{"path":"./dist/index.js","limit":"14 kB"},{"path":"./dist/formik.esm.js","limit":"14 kB"},{"path":"./dist/formik.umd.production.js","limit":"14 kB"}],"readmeFilename":"README.md","readme":"![](https://user-images.githubusercontent.com/4060187/27243721-3b5219d0-52b1-11e7-96f1-dae8391a3ef6.png)\n\n[![CircleCI](https://circleci.com/gh/jaredpalmer/formik.svg?style=svg)](https://circleci.com/gh/jaredpalmer/formik)\n[![Stable Release](https://img.shields.io/npm/v/formik.svg)](https://npm.im/formik)\n[![Blazing Fast](https://badgen.now.sh/badge/speed/blazing%20%F0%9F%94%A5/green)](https://npm.im/formik)\n[![gzip size](http://img.badgesize.io/https://unpkg.com/formik@latest/dist/formik.umd.production.js?compression=gzip)](https://unpkg.com/formik@latest/dist/formik.umd.production.js)\n[![license](https://badgen.now.sh/badge/license/MIT)](./LICENSE)\n[![Discord](https://img.shields.io/discord/102860784329052160.svg?style=flat-square)](https://discord.gg/cU6MCve)\n[![Join the community on Spectrum](https://withspectrum.github.io/badge/badge.svg)](https://spectrum.chat/palmer)\n\nLet's face it, forms are really verbose in\n[React](https://github.com/facebook/react). To make matters worse, most form\nhelpers do wayyyy too much magic and often have a significant performance cost\nassociated with them. Formik is a small library that helps you with the 3 most\nannoying parts:\n\n1.  Getting values in and out of form state\n2.  Validation and error messages\n3.  Handling form submission\n\nBy colocating all of the above in one place, Formik will keep things\norganized--making testing, refactoring, and reasoning about your forms a breeze.\n\n<div id=\"handleblur-e-any--void\"></div>\n<div id=\"handlechange-e-any--void\"></div>\n\n## Docs\n\n* [Get Started](https://jaredpalmer.com/formik/docs/overview)\n* [API Reference](https://jaredpalmer.com/formik/docs/api/formik)\n* [Articles / Tutorials](https://jaredpalmer.com/formik/docs/resources)\n* [Get Help](https://jaredpalmer.com/formik/help)\n* [Release Notes](https://github.com/jaredpalmer/formik/releases)\n\n## In-browser Playgrounds\n\nYou can play with Formik in your web browser with these live online playgrounds.\n\n* CodeSandbox (ReactDOM) https://codesandbox.io/s/zKrK5YLDZ\n* Expo Snack (React Native) https://snack.expo.io/Bk9pPK87X\n\n## Examples\n\n* [Basics](https://codesandbox.io/s/zKrK5YLDZ)\n* [Sync Validation](https://codesandbox.io/s/q8yRqQMp)\n* [Building your own input primitives](https://codesandbox.io/s/qJR4ykJk)\n* Working with 3rd-party inputs:\n  - [react-select-v1](https://codesandbox.io/s/jRzE53pqR)\n  - [react-select-v2](https://codesandbox.io/s/73jj9zom96)\n  - [Draft.js](https://codesandbox.io/s/QW1rqjBLl)\n* [Accessing React lifecycle functions](https://codesandbox.io/s/pgD4DLypy)\n* [React Native](https://snack.expo.io/@ferrannp/react-native-x-formik)\n* [TypeScript](https://codesandbox.io/s/8y578o8152)\n\n## Organizations and projects using Formik\n\n[List of organizations and projects using Formik](https://github.com/jaredpalmer/formik/issues/87)\n\n## Authors\n\n* Jared Palmer [@jaredpalmer](https://twitter.com/jaredpalmer)\n* Ian White [@eonwhite](https://twitter.com/eonwhite)\n\n## Contributors\n\nFormik is made with <3 thanks to these wonderful people\n([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):\n\n<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->\n\n<!-- prettier-ignore -->\n| [<img src=\"https://avatars2.githubusercontent.com/u/4060187?v=4\" width=\"100px;\"/><br /><sub><b>Jared Palmer</b></sub>](http://jaredpalmer.com)<br />[💬](#question-jaredpalmer \"Answering Questions\") [💻](https://github.com/jaredpalmer/formik/commits?author=jaredpalmer \"Code\") [🎨](#design-jaredpalmer \"Design\") [📖](https://github.com/jaredpalmer/formik/commits?author=jaredpalmer \"Documentation\") [💡](#example-jaredpalmer \"Examples\") [🤔](#ideas-jaredpalmer \"Ideas, Planning, & Feedback\") [👀](#review-jaredpalmer \"Reviewed Pull Requests\") [⚠️](https://github.com/jaredpalmer/formik/commits?author=jaredpalmer \"Tests\") | [<img src=\"https://avatars0.githubusercontent.com/u/109324?v=4\" width=\"100px;\"/><br /><sub><b>Ian White</b></sub>](https://www.stardog.io)<br />[💬](#question-eonwhite \"Answering Questions\") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Aeonwhite \"Bug reports\") [💻](https://github.com/jaredpalmer/formik/commits?author=eonwhite \"Code\") [📖](https://github.com/jaredpalmer/formik/commits?author=eonwhite \"Documentation\") [🤔](#ideas-eonwhite \"Ideas, Planning, & Feedback\") [👀](#review-eonwhite \"Reviewed Pull Requests\") | [<img src=\"https://avatars0.githubusercontent.com/u/829963?v=4\" width=\"100px;\"/><br /><sub><b>Andrej Badin</b></sub>](http://andrejbadin.com)<br />[💬](#question-Andreyco \"Answering Questions\") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3AAndreyco \"Bug reports\") [📖](https://github.com/jaredpalmer/formik/commits?author=Andreyco \"Documentation\") | [<img src=\"https://avatars2.githubusercontent.com/u/91115?v=4\" width=\"100px;\"/><br /><sub><b>Adam Howard</b></sub>](http://adz.co.de)<br />[💬](#question-skattyadz \"Answering Questions\") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Askattyadz \"Bug reports\") [🤔](#ideas-skattyadz \"Ideas, Planning, & Feedback\") [👀](#review-skattyadz \"Reviewed Pull Requests\") | [<img src=\"https://avatars1.githubusercontent.com/u/6711845?v=4\" width=\"100px;\"/><br /><sub><b>Vlad Shcherbin</b></sub>](https://github.com/VladShcherbin)<br />[💬](#question-VladShcherbin \"Answering Questions\") [🐛](https://github.com/jaredpalmer/formik/issues?q=author%3AVladShcherbin \"Bug reports\") [🤔](#ideas-VladShcherbin \"Ideas, Planning, & Feedback\") | [<img src=\"https://avatars3.githubusercontent.com/u/383212?v=4\" width=\"100px;\"/><br /><sub><b>Brikou CARRE</b></sub>](https://github.com/brikou)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Abrikou \"Bug reports\") [📖](https://github.com/jaredpalmer/formik/commits?author=brikou \"Documentation\") | [<img src=\"https://avatars0.githubusercontent.com/u/5314713?v=4\" width=\"100px;\"/><br /><sub><b>Sam Kvale</b></sub>](http://skvale.github.io)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Askvale \"Bug reports\") [💻](https://github.com/jaredpalmer/formik/commits?author=skvale \"Code\") [⚠️](https://github.com/jaredpalmer/formik/commits?author=skvale \"Tests\") |\n| :---: | :---: | :---: | :---: | :---: | :---: | :---: |\n| [<img src=\"https://avatars0.githubusercontent.com/u/13765558?v=4\" width=\"100px;\"/><br /><sub><b>Jon Tansey</b></sub>](http://jon.tansey.info)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Ajontansey \"Bug reports\") [💻](https://github.com/jaredpalmer/formik/commits?author=jontansey \"Code\") | [<img src=\"https://avatars0.githubusercontent.com/u/6819171?v=4\" width=\"100px;\"/><br /><sub><b>Tyler Martinez</b></sub>](http://slightlytyler.com)<br />[🐛](https://github.com/jaredpalmer/formik/issues?q=author%3Aslightlytyler \"Bug reports\") [📖](https://github.com/jaredpalmer/formik/commits?author=slightlytyler \"Documentation\") |\n\n<!-- ALL-CONTRIBUTORS-LIST:END -->\n\nThis project follows the\n[all-contributors](https://github.com/kentcdodds/all-contributors)\nspecification. Contributions of any kind welcome!\n\n---\n\nMIT License.\n\n---\n","licenseText":"MIT License\n\nCopyright (c) 2017 Jared Palmer http://jaredpalmer.com\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"formik@2.0.0-canary.effcf9b","dist":{"shasum":"d441a1bab68284a4d61303cbb093f7d20f79a7e4","integrity":"sha512-YN0pLlejJ71MX8kbysWgflPCdy+GDXzpQM+07xQlQ4alhrXqBL8XCfb0gqQsK0QWWC9aHjAJqUG0oZ80VeGh3g==","tarball":"http://registry-npm.ywwl.com/formik/download/formik-2.0.0-canary.effcf9b.tgz","fileCount":27,"unpackedSize":854098,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcFEIGCRA9TVsSAnZWagAArKEP/111BbrKH2mrhMODtb/n\nby7hMIOSb1WjfLZm93hzOlgVwARSv3+YCZ2xacVzDBWnAwQnYzTdFOV5ffQV\n/qRkurxUbVC6Gawmw45syaQON15HY2CC4wOxMOoytjEZfCLWzvTihTwlrK1M\naw60L3otp/3BpB0bBs3P+nKN2G35MjLXVRDxQP2qfVc76DtG4NtcZzDtzh0X\nq+M6IE/vGqIVw7FfjrWHpl+Au2c8fhuv71fkWxsycEPSqrD4UfmcECbXM4wW\nX83EP4Adtlw6HgkkxFDQQKHqqtMtYHUTxNM7yMEu9k5DFq14WlHCl6Hivght\nYBFI6E6h8JV+aKPiWTSzDCKOfF3K2PBmDHhakLM8fUm8Vrs+bqregPj9MRWs\n4KCbSQ0j18DEwxAz2+A0OnTOrstL5LhnhjD3BwtM8TYjPeNfFoz+c7xzhHKK\nE1JwjJ2S9ZbqTWujcMzeMNmnZwsuOVeEsfIyYen2l2qd5LohHuz5IJrRY2KZ\nm85cIfK+YTudmEOUxTnpD4Gkvc3bkz5Ijvrx9F3b9LeUw43BqZHECqwvXKgd\nUPsf49TeQFJCgh5dO6WByDVzLXmC+ob1Bu8XCYa40dVTnXnvFJ3JszXa8Jee\nMwSa1FjFqi4VB4+gAr/IlgpPxMZ8zHbLAOcTl5lQp8VDYmP0VD5zSTaOPl1g\nR10q\r\n=e3pq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjZNVCXRN8W/up8lRrooykGnVjItNgO1pzMoH4HfP/CAiBOSr35O5dFkX3IJFJA4zV44spHs4h8pBxvbv1KiqzCVA=="}],"size":195806,"noattachment":false,"key":"/formik/-/formik-2.0.0-canary.effcf9b.tgz"},"maintainers":[{"name":"jaredpalmer","email":"jared@palmer.net"}],"_npmUser":{"name":"jaredpalmer","email":"jared@palmer.net"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/formik_2.0.0-canary.effcf9b_1544831494262_0.49376789520148945"},"_hasShrinkwrap":false,"publish_time":1544831494421,"_cnpm_publish_time":1544831494421,"dist-tags":{"canary":"2.1.6-canary.0","latest":"2.4.9","next":"3.0.0-next.8"}}