{"_id":"@18f/redux-textarea-debounce","_rev":"49-5b7c4cc562164e78e6b0f24f80e7ccfb","name":"@18f/redux-textarea-debounce","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.0":{"name":"@18f/redux-textarea-debounce","version":"1.0.0","keywords":["textarea","react","redux","debounce"],"author":{"name":"Greg Walker","email":"greg.walker@gsa.gov"},"license":"CC0-1.0","_id":"@18f/redux-textarea-debounce@1.0.0","maintainers":[{"name":"mgwalker","email":"npm@darkcooger.net"}],"homepage":"https://github.com/18F/redux-textarea-debounce#readme","bugs":{"url":"https://github.com/18F/redux-textarea-debounce/issues"},"dist":{"shasum":"caa3a0b3225ee8fb35b91241e7dd60e83bf93752","tarball":"https://registry.npmjs.org/@18f/redux-textarea-debounce/-/redux-textarea-debounce-1.0.0.tgz","integrity":"sha512-7UFyfE4tTlzBePvuf5OjkgxF/ZQeFupTE8bIdMldrogmAwdZ8Lo65iQUQXrqPu05yxYoeSj9Pmt2jWjFDcdd0Q==","signatures":[{"sig":"MEQCIDSxr3q6hUNIKeJ3JCezSqxph6kIIGas2zDdlsfeBriqAiA+/USSWDsqAdf9UUYfA4RkrGNtAxP96vuJ+VxTJbbT/w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","babel":{"presets":["es2015","react"]},"files":["index.js"],"gitHead":"9600b4dbcd04a479f4f132f1ba4b7de028bf0c8a","scripts":{"lint":"eslint --fix index.js index.test.js","test":"npm run lint && jest"},"_npmUser":{"name":"mgwalker","email":"npm@darkcooger.net"},"deprecated":"no longer maintained","repository":{"url":"git+https://github.com/18F/redux-textarea-debounce.git","type":"git"},"_npmVersion":"5.3.0","description":"textarea component whose onchange is debounced, perfect for use in redux apps","directories":{},"_nodeVersion":"6.10.3","dependencies":{"debounce":"^1.0.2","prop-types":"^15.4.0"},"devDependencies":{"jest":"^20.0.4","react":"^15.4.2","enzyme":"^2.9.1","eslint":"^4.3.0","react-dom":"^15.4.2","babel-jest":"^20.0.3","enzyme-to-json":"^1.5.1","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"^7.1.0","react-test-renderer":"^15.4.2","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^5.1.1","react-addons-test-utils":"^15.4.2"},"peerDependencies":{"react":"^15.4.2"},"_npmOperationalInternal":{"tmp":"tmp/redux-textarea-debounce-1.0.0.tgz_1501558164187_0.9618327873758972","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@18f/redux-textarea-debounce","version":"1.0.1","keywords":["textarea","react","redux","debounce"],"author":{"name":"Greg Walker","email":"greg.walker@gsa.gov"},"license":"CC0-1.0","_id":"@18f/redux-textarea-debounce@1.0.1","maintainers":[{"name":"adam.biagianti","email":"adam.biagianti@gsa.gov"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"mbenari","email":"hello@maya-benari.com"},{"name":"juliaelman","email":"hello@juliaelman.com"},{"name":"stvnrlly","email":"stvnrlly@stvnrlly.com"},{"name":"mgwalker","email":"npm@darkcooger.net"},{"name":"rogeruiz","email":"hi@rog.gr"},{"name":"noahmanger","email":"noah.manger@gmail.com"},{"name":"jmcarp","email":"jm.carp@gmail.com"},{"name":"msecret","email":"msegreto@miceover.com"},{"name":"jeremiak","email":"jbkimelman@gmail.com"},{"name":"aidanfeldman","email":"aidan.feldman@gmail.com"},{"name":"18f-devops","email":"devops@gsa.gov"}],"homepage":"https://github.com/18F/redux-textarea-debounce#readme","bugs":{"url":"https://github.com/18F/redux-textarea-debounce/issues"},"dist":{"shasum":"ce078641f87303ec51db27dae1f69a3a828d6458","tarball":"https://registry.npmjs.org/@18f/redux-textarea-debounce/-/redux-textarea-debounce-1.0.1.tgz","integrity":"sha512-DRparHjOWRcWFwQymIHRDJugjfNBdnkhTQYLE82Nb38mqQZURwGhQ4LjThfwAFmrmTk1t64VbN4OV9w/HjOiOw==","signatures":[{"sig":"MEUCIQDQ3mXjh4RGMxmsCG8KZqPGPRfMPjimaU0jvxxDPBGVyQIgZBwZbWEr0riCweIahS4ZGSj64qE27HYItPmkRY/afwI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","babel":{"presets":["es2015","react"]},"files":["index.js"],"gitHead":"5fbfdf969442cb0be83ddc63d1ac3a07fd5f1d31","scripts":{"lint":"eslint --fix index.js index.test.js","test":"npm run lint && jest"},"_npmUser":{"name":"mgwalker","email":"npm@darkcooger.net"},"deprecated":"no longer maintained","repository":{"url":"git+https://github.com/18F/redux-textarea-debounce.git","type":"git"},"_npmVersion":"5.3.0","description":"textarea component whose onchange is debounced, perfect for use in redux apps","directories":{},"_nodeVersion":"6.10.3","dependencies":{"debounce":"^1.0.2","prop-types":"^15.4.0"},"devDependencies":{"jest":"^20.0.4","react":"^15.4.2","enzyme":"^2.9.1","eslint":"^4.3.0","react-dom":"^15.4.2","babel-jest":"^20.0.3","enzyme-to-json":"^1.5.1","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"^7.1.0","react-test-renderer":"^15.4.2","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^5.1.1","react-addons-test-utils":"^15.4.2"},"peerDependencies":{"react":"^15.4.2"},"_npmOperationalInternal":{"tmp":"tmp/redux-textarea-debounce-1.0.1.tgz_1501558434249_0.5706181472633034","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@18f/redux-textarea-debounce","version":"1.1.0","keywords":["textarea","react","redux","debounce"],"author":{"name":"Greg Walker","email":"greg.walker@gsa.gov"},"license":"CC0-1.0","_id":"@18f/redux-textarea-debounce@1.1.0","maintainers":[{"name":"adam.biagianti","email":"adam.biagianti@gsa.gov"},{"name":"jseppi","email":"james.seppi@gmail.com"},{"name":"mbenari","email":"hello@maya-benari.com"},{"name":"juliaelman","email":"hello@juliaelman.com"},{"name":"stvnrlly","email":"stvnrlly@stvnrlly.com"},{"name":"mgwalker","email":"npm@darkcooger.net"},{"name":"rogeruiz","email":"hi@rog.gr"},{"name":"noahmanger","email":"noah.manger@gmail.com"},{"name":"jmcarp","email":"jm.carp@gmail.com"},{"name":"msecret","email":"msegreto@miceover.com"},{"name":"jeremiak","email":"jbkimelman@gmail.com"},{"name":"aidanfeldman","email":"aidan.feldman@gmail.com"},{"name":"18f-devops","email":"devops@gsa.gov"}],"homepage":"https://github.com/18F/redux-textarea-debounce#readme","bugs":{"url":"https://github.com/18F/redux-textarea-debounce/issues"},"dist":{"shasum":"eec27e5ec1682795d4c733718a208ce38ea9e51d","tarball":"https://registry.npmjs.org/@18f/redux-textarea-debounce/-/redux-textarea-debounce-1.1.0.tgz","integrity":"sha512-EXBWa0xxXeC8mQ3sWhul6kpIzdXZ10/JeAyUQjenJsG3t1l6ExcextdHn/Iv48wRDOLq4+CEX3afax9ASVO3SQ==","signatures":[{"sig":"MEUCIAF4N45CzImsJKAFyR3t+LPvDbKZtl6TBJ8nqBZgdzcAAiEAyDDKEjLPbpfmpcdOC/j5zZNGC7HAPWfhoTOn+Y1SGk8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","babel":{"presets":["es2015","react"]},"files":["index.js"],"gitHead":"3a54519239376944ecfa0c1ad50df9dcfafb180d","scripts":{"lint":"eslint --fix index.js index.test.js","test":"npm run lint && jest"},"_npmUser":{"name":"mgwalker","email":"npm@darkcooger.net"},"deprecated":"no longer maintained","repository":{"url":"git+https://github.com/18F/redux-textarea-debounce.git","type":"git"},"_npmVersion":"5.2.0","description":"textarea component whose onchange is debounced, perfect for use in redux apps","directories":{},"_nodeVersion":"6.9.4","dependencies":{"debounce":"^1.0.2","prop-types":"^15.4.0"},"devDependencies":{"jest":"^20.0.4","react":"^15.4.2","enzyme":"^2.9.1","eslint":"^4.3.0","react-dom":"^15.4.2","babel-jest":"^20.0.3","enzyme-to-json":"^1.5.1","babel-preset-react":"^6.24.1","babel-preset-es2015":"^6.24.1","eslint-plugin-react":"^7.1.0","react-test-renderer":"^15.4.2","eslint-config-airbnb":"^15.1.0","eslint-plugin-import":"^2.7.0","eslint-plugin-jsx-a11y":"^5.1.1","react-addons-test-utils":"^15.4.2"},"peerDependencies":{"react":"^15.4.2"},"_npmOperationalInternal":{"tmp":"tmp/redux-textarea-debounce-1.1.0.tgz_1501766450101_0.17039374099113047","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-08-01T03:29:25.473Z","modified":"2026-07-30T16:06:38.408Z","1.0.0":"2017-08-01T03:29:25.473Z","1.0.1":"2017-08-01T03:33:55.162Z","1.1.0":"2017-08-03T13:20:51.055Z"},"bugs":{"url":"https://github.com/18F/redux-textarea-debounce/issues"},"author":{"name":"Greg Walker","email":"greg.walker@gsa.gov"},"license":"CC0-1.0","homepage":"https://github.com/18F/redux-textarea-debounce#readme","keywords":["textarea","react","redux","debounce"],"repository":{"url":"git+https://github.com/18F/redux-textarea-debounce.git","type":"git"},"description":"textarea component whose onchange is debounced, perfect for use in redux apps","maintainers":[{"email":"devops@gsa.gov","name":"18f-devops"},{"email":"rochelle.ribeiro@gsa.gov","name":"rori123"},{"email":"sheldon@navapbc.com","name":"sb-nava"},{"email":"gina.yamada@gsa.gov","name":"ginayam"},{"email":"micah.neveu@gsa.gov","name":"mneveunava"},{"email":"tts-tech-portfolio@gsa.gov","name":"tts-tech-portfolio"},{"email":"michael.r.king@gsa.gov","name":"mkgsa"},{"email":"charles.ferguson@gsa.gov","name":"cvfergus"},{"email":"matt.gardner@gsa.gov","name":"nava-matt"},{"email":"keithwilliams@navapbc.com","name":"keithnava"},{"email":"tai@taigrr.com","name":"taigrr"},{"email":"luigi.ray-montanez@gsa.gov","name":"luigiraymontanez"},{"email":"john.jediny@gsa.gov","name":"jjediny"},{"email":"lakeisha.russell@gsa.gov","name":"lrussell01"},{"email":"gerardo.cruz-ortiz@gsa.gov","name":"gerardo.cruz-ortiz"},{"email":"aj.farkas@gsa.gov","name":"ajfarkas_gsa"}],"readme":"# redux-textarea-debounce\n\nA React component that emulates a `<textarea>` but debounces the `onChange`\nevent, which is especially useful for redux apps.  If you try to handle every\n`onChange` by routing it through the dispatcher and all that fun stuff, your\napp may begin to lag.  This app helps with that!\n\n## Installation\n\n```\nnpm i @18f/redux-textarea-debounce\n```\n\n## Usage\n\nWhatever function you provide as the `onChange` prop is debounced so it only\nruns at most once every 200ms.  As long as the user keeps typing, it won't run\nat all - unless they slow down long enough.\n\nIt's as much like a regular `textarea` as possible:\n\n```javascript\nimport TextArea from '@18f/redux-textarea-debounce';\n\nfunction handler(e) {\n  // You get the full SyntheticEvent object, but\n  // not on every change - at most once every 200ms\n  console.log(e.target.value);\n}\n\nrender() {\n  return (\n    <TextArea value=\"initial value\" onChange={handler} />\n  );\n}\n```\n\n|Prop|Type|Description|\n|--|--|--|\n|`value`|string|The initial text value of the text area.|\n|`name`|string|A name for the component, passed down to the underlying `<textarea>` - this will show up on the event as `event.target.name`.|\n|`onChange`|function|The event handler for change events, called at most once ever 200ms.  Receives one argument, a React [SyntheticEvent](https://facebook.github.io/react/docs/events.html) from the underlying real `<textarea>` component.|\n\n## Public domain\n\nThis project is in the worldwide [public domain](LICENSE.md). As stated in\n[CONTRIBUTING](CONTRIBUTING.md):\n\n> This project is in the public domain within   the United States, and\n> copyright and related rights in the work worldwide are waived through the\n> [CC0 1.0 Universal public domain dedication](https://creativecommons.org/publicdomain/zero/1.0/).\n>\n> All contributions to this project will be released under the CC0 dedication.\n> By submitting a pull request, you are agreeing to comply with this waiver of\ncopyright interest.\n","readmeFilename":"README.md"}