{"_id":"@clientdiary/react-verification-code-input","_rev":"2-8c0b83e904bba62014a77d981d3399aa","name":"@clientdiary/react-verification-code-input","dist-tags":{"latest":"1.3.1"},"versions":{"1.3.0":{"name":"@clientdiary/react-verification-code-input","version":"1.3.0","keywords":["react","react-component","code","input","verify","verifycode","PIN","pin-code"],"author":{"name":"ClientDiary"},"license":"MIT","_id":"@clientdiary/react-verification-code-input@1.3.0","maintainers":[{"name":"hientran92","email":"hientran@clientdiary.com"}],"homepage":"https://github.com/tpmh31292/react-verification-code-input#readme","bugs":{"url":"https://github.com/tpmh31292/react-verification-code-input/issues"},"dist":{"shasum":"49a39c9eade9282da9b2b30a32be88445599bff1","tarball":"https://registry.npmjs.org/@clientdiary/react-verification-code-input/-/react-verification-code-input-1.3.0.tgz","fileCount":7,"integrity":"sha512-EvV10UHEfGVFrZ0RX0iGGSKqw82PfQnhGBLcz8CURmFt5Vq01WAR7T0xcoamBtaQNo1jLMAoQIgYeIqXkYUO+w==","signatures":[{"sig":"MEUCIQCjEH82yusT5DCTW7LJAVaC3Kg9BW4f1Buv2tnpcvXRoQIgGQfANavd/eTF24gfbPmhNf4v8nF/QPJyyee9DziRUzk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61697},"main":"dist/index.js","types":"./dist/index.d.ts","module":"dist/index.es.js","engines":{"npm":">=5","node":">=8"},"gitHead":"dcbc648afe22fe7dbc6772dae9e45b72e9b40ca4","scripts":{"test":"cross-env CI=1 react-scripts test --env=jsdom","build":"rollup -c","start":"rollup -c -w","deploy":"gh-pages -d example/build","prepare":"yarn run build","predeploy":"cd example && yarn install && yarn run build","test:watch":"react-scripts test --env=jsdom","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"},"_npmUser":{"name":"hientran92","email":"hientran@clientdiary.com"},"repository":{"url":"git+https://github.com/tpmh31292/react-verification-code-input.git","type":"git"},"_npmVersion":"10.9.3","description":"[ClientDiary] - Verification code input","directories":{},"jsnext:main":"dist/index.es.js","_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"react":"^16.4.1","eslint":"^5.0.1","rollup":"^0.64.1","gh-pages":"^1.2.0","cross-env":"^5.1.4","react-dom":"^16.4.1","babel-core":"^6.26.3","@svgr/rollup":"^2.4.1","babel-eslint":"^8.2.5","react-scripts":"^1.1.4","babel-preset-env":"^1.7.0","rollup-plugin-url":"^1.4.0","babel-preset-react":"^6.24.1","eslint-plugin-node":"^7.0.1","generate-changelog":"^1.7.1","rollup-plugin-copy":"^1.1.0","eslint-plugin-react":"^7.10.0","rollup-plugin-babel":"^3.0.7","babel-preset-stage-0":"^6.24.1","eslint-plugin-import":"^2.13.0","eslint-plugin-promise":"^4.0.0","rollup-plugin-postcss":"^1.6.2","eslint-config-standard":"^11.0.0","eslint-plugin-standard":"^3.1.0","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-node-resolve":"^3.3.0","eslint-config-standard-react":"^6.0.0","babel-plugin-external-helpers":"^6.22.0","rollup-plugin-peer-deps-external":"^2.2.0"},"peerDependencies":{"react":">=15.0.0","react-dom":">=15.0.0","prop-types":"^15.5.4"},"_npmOperationalInternal":{"tmp":"tmp/react-verification-code-input_1.3.0_1765419494413_0.7281827377635293","host":"s3://npm-registry-packages-npm-production"}},"1.3.1":{"name":"@clientdiary/react-verification-code-input","version":"1.3.1","description":"[ClientDiary] - Verification code input","author":{"name":"ClientDiary"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/tpmh31292/react-verification-code-input.git"},"main":"dist/index.js","module":"dist/index.es.js","jsnext:main":"dist/index.es.js","engines":{"node":">=8","npm":">=5"},"scripts":{"test":"cross-env CI=1 react-scripts test --env=jsdom","test:watch":"react-scripts test --env=jsdom","build":"rollup -c","start":"rollup -c -w","prepare":"yarn run build","predeploy":"cd example && yarn install && yarn run build","deploy":"gh-pages -d example/build","release:major":"changelog -M && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version major && git push origin && git push origin --tags","release:minor":"changelog -m && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version minor && git push origin && git push origin --tags","release:patch":"changelog -p && git add CHANGELOG.md && git commit -m 'updated CHANGELOG.md' && npm version patch && git push origin && git push origin --tags"},"peerDependencies":{"prop-types":"^15.5.4","react":">=15.0.0","react-dom":">=15.0.0"},"devDependencies":{"@svgr/rollup":"^2.4.1","babel-core":"^6.26.3","babel-eslint":"^8.2.5","babel-plugin-external-helpers":"^6.22.0","babel-preset-env":"^1.7.0","babel-preset-react":"^6.24.1","babel-preset-stage-0":"^6.24.1","cross-env":"^5.1.4","eslint":"^5.0.1","eslint-config-standard":"^11.0.0","eslint-config-standard-react":"^6.0.0","eslint-plugin-import":"^2.13.0","eslint-plugin-node":"^7.0.1","eslint-plugin-promise":"^4.0.0","eslint-plugin-react":"^7.10.0","eslint-plugin-standard":"^3.1.0","generate-changelog":"^1.7.1","gh-pages":"^1.2.0","react":"^16.4.1","react-dom":"^16.4.1","react-scripts":"^1.1.4","rollup":"^0.64.1","rollup-plugin-babel":"^3.0.7","rollup-plugin-commonjs":"^9.1.3","rollup-plugin-copy":"^1.1.0","rollup-plugin-node-resolve":"^3.3.0","rollup-plugin-peer-deps-external":"^2.2.0","rollup-plugin-postcss":"^1.6.2","rollup-plugin-url":"^1.4.0"},"keywords":["react","react-component","code","input","verify","verifycode","PIN","pin-code"],"_id":"@clientdiary/react-verification-code-input@1.3.1","gitHead":"dcbc648afe22fe7dbc6772dae9e45b72e9b40ca4","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/tpmh31292/react-verification-code-input/issues"},"homepage":"https://github.com/tpmh31292/react-verification-code-input#readme","_nodeVersion":"22.20.0","_npmVersion":"10.9.3","dist":{"integrity":"sha512-bh0Dgd52ifjOvqoK7w8iDwnwTU4chriRl8du9g0uAQakrFF5B0Z99OfJ2Bfu2LiX02/i84wwXWMR2KYhzaAH7w==","shasum":"975fc497f5b566de2b25fce1d15ab43c2e3b007a","tarball":"https://registry.npmjs.org/@clientdiary/react-verification-code-input/-/react-verification-code-input-1.3.1.tgz","fileCount":7,"unpackedSize":61769,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDzAfyIfKX1l4WleVNQItWzn225ggPjrLteAXLLX46AIAIgZCf7lySol+0tF1dVqtqnWp4llolH0HeNaA9ZONnxJyE="}]},"_npmUser":{"name":"hientran92","email":"hientran@clientdiary.com"},"directories":{},"maintainers":[{"name":"hientran92","email":"hientran@clientdiary.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/react-verification-code-input_1.3.1_1765513873021_0.3257801099802464"},"_hasShrinkwrap":false}},"time":{"created":"2025-12-11T02:18:14.333Z","modified":"2025-12-12T04:31:13.437Z","1.3.0":"2025-12-11T02:18:14.576Z","1.3.1":"2025-12-12T04:31:13.175Z"},"bugs":{"url":"https://github.com/tpmh31292/react-verification-code-input/issues"},"author":{"name":"ClientDiary"},"license":"MIT","homepage":"https://github.com/tpmh31292/react-verification-code-input#readme","keywords":["react","react-component","code","input","verify","verifycode","PIN","pin-code"],"repository":{"type":"git","url":"git+https://github.com/tpmh31292/react-verification-code-input.git"},"description":"[ClientDiary] - Verification code input","maintainers":[{"name":"hientran92","email":"hientran@clientdiary.com"}],"readme":"# react-verification-code-input\n\n> 🎉A verification code input\n\n[![NPM](https://img.shields.io/npm/v/react-verification-code-input.svg)](https://www.npmjs.com/package/react-verification-code-input) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n\n[![NPM](https://nodei.co/npm/react-verification-code-input.png)](https://nodei.co/npm/react-verification-code-input/)\n\n## Live demo\n\n- [Demo](https://suweya.github.io/react-verification-code-input/)\n\n## Install\n\n```bash\nnpm install --save react-verification-code-input\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from 'react';\n\nimport ReactCodeInput from 'react-verification-code-input';\n\nclass Example extends Component {\n  render() {\n    return <ReactCodeInput />;\n  }\n}\n```\n\n## PropTypes\n\n|     Key     |  Type  |              Desc               |\n| :---------: | :----: | :-----------------------------: |\n|    type     |  text  |      one of number or text      |\n|   fields    | number |     The count of characters     |\n|  onChange   |  func  |   Trigger on character change   |\n| onComplete  |  func  | Trigger on all character inputs |\n| fieldWidth  | number |           input width           |\n| fieldHeight | number |          input height           |\n|  autoFocus  |  bool  | auto focus first input on init  |\n|    title    | string |        code input title         |\n|   loading   |  bool  |        show loading flag        |\n|  className  | string |           class name            |\n|   values    | array  |         default values          |\n| placeholder | array  |        input placeholder        |\n\n## License\n\nMIT © [suweya](https://github.com/suweya)\n","readmeFilename":"README.md"}