{"_id":"react-maskinput","_rev":"22-d2374005c711fbb1ac78e4b82f4fe2d5","name":"react-maskinput","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","dist-tags":{"latest":"3.2.0","beta":"3.1.0-beta"},"versions":{"0.1.0":{"name":"react-maskinput","version":"0.1.0","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.0"},"_id":"react-maskinput@0.1.0","_shasum":"b8f686bfa33ff6600b2f38f320513e583fb60706","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"shasum":"b8f686bfa33ff6600b2f38f320513e583fb60706","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.0.tgz","integrity":"sha512-Sm/ebs4FFyY7qycTEGiQ9QNdb5UBeG1aJTMhTM+qJoLiDHMpmChCI8MS1EmcJK+Z1g6JS7RZ58O33qVBBNxgcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAZL1HJsEz3EIHxk7V0Amo5vMjjmBdpgNOdlTPhqJ4qAiBngbvdLLPgiMVtnYme9AXk/b9BfFfdEAAjuLFZoKGnXg=="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-maskinput-0.1.0.tgz_1494182752300_0.5504256763961166"},"directories":{}},"0.1.1":{"name":"react-maskinput","version":"0.1.1","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.1","_shasum":"6ef3733938df18b8a1935e9db5629b8161acc83b","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"shasum":"6ef3733938df18b8a1935e9db5629b8161acc83b","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.1.tgz","integrity":"sha512-YOIRRoWD5Zkd6nEB7/EutZNNcbRxYMa+h9M6J+BE5nECgJHAQ4skkNE3vKbsUeleogg4i/V7ZtE4FaQbCqoStA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGF6Rtb8B3E4PdEymJs5QULHCfHsXZu6m3BhUMWR3/nxAiEAxPCouQcXuT/4oRsrqNL5rkyjWGdDAWTMP9JQ7n9x3kg="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-maskinput-0.1.1.tgz_1494269776198_0.3888920552562922"},"directories":{}},"0.1.2":{"name":"react-maskinput","version":"0.1.2","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.2","_shasum":"b20d7788559cf1e382ede7765e12b45670b4cc9a","_from":".","_npmVersion":"3.10.9","_nodeVersion":"6.9.2","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"shasum":"b20d7788559cf1e382ede7765e12b45670b4cc9a","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.2.tgz","integrity":"sha512-U0ig9E6QkbVJwN9TZB/ES4tskr/cBIsPZtKFtlrlro+3HkYm28783bDgnytlvxFqDzOIiM9EL+fNmLpSHCLF6A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpr+bs7wBDwQip4hR7AZpRUNC9CdyX/IGdTFWsrrJm2AIhAJzEW+Z+QJk4XrQK7znHsJMFtsGFsX7zOGeGZXJAeb9W"}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/react-maskinput-0.1.2.tgz_1494415168679_0.5833150083199143"},"directories":{}},"0.1.3":{"name":"react-maskinput","version":"0.1.3","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.3","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-PfRdWPnuAc/XhwM1VBW1eCRC1fsvkqsqmL3MDB/DZTFYFUPEnSs0dsO4KDZoLe27qfkrEDuKvqoyu0ezvfD8Cw==","shasum":"2e1cde578a1fc0b724cd1633dddc92d2b8680ee9","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.3.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLdI6Ho56L5/7I8wmu8z7xp2eYDJGahFH0gDQ/im52FAiBwwISl82BNVlCgVatUmdD4sB3YRaIZCruJ/80k58MKSQ=="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-0.1.3.tgz_1496591346897_0.4901186425704509"},"directories":{}},"0.1.4":{"name":"react-maskinput","version":"0.1.4","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.4","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-+TCGai82j2ctrY/6XkEoT0gwQ0VNZ1dWDf1RNI6Gqksjn1Lzoh1B8BAq/22VnEAa+3JtGZL9hLN8YQyD0tnqOQ==","shasum":"ce28e040dbc03696a1f28500e350ca23fc93496c","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.4.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7Uu58TLlDLzTvdlASi4S/1+KexgceMr/DaOqZ2I3VlAiAqeBP9KebpvvinoJCpaa7L/iI51ZctOSikWxeO6oeUBg=="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-0.1.4.tgz_1496592313538_0.6668703958857805"},"directories":{}},"0.1.5":{"name":"react-maskinput","version":"0.1.5","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.5","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-ys22zv79fU/a714VJIfJcBMHohv9uQcmOen+mosjzehRDWgLIoWpLWZ5WDSikRQBGz6ltZTvBH5hbxw7r9UX2A==","shasum":"a51abb70dc492a449262cb46e45de45586a6db15","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.5.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOHD29+CChJH4ASsOtncxLrVBrSpomhb/2At45tEHPYAIhAP2TsMyaewQX7aUPzW8P0L9IgTx3Koid8/0h9/qbQGxT"}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-0.1.5.tgz_1498565875316_0.932814096333459"},"directories":{}},"0.1.6":{"name":"react-maskinput","version":"0.1.6","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.6","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-9yNOqzD2cJl4JvW3sRyPMiOZ0WS4HpwK5gt27Im8NUe/19F2CF09Pe2aJ6gwvxD5/3tC1grwtZfxjwGAZoljGw==","shasum":"7221ba77745027c29c32b2d5091287736567052e","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.6.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdwhMipj1JmPK4AcM35dhBl2UY2jGjdSUqP13rK/5+tAIgf9Y4xDrZssL5FH3tRu4mDt22mluHirwBpWvwSCJOv3g="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-0.1.6.tgz_1501513916743_0.6060870443470776"},"directories":{}},"0.1.7":{"name":"react-maskinput","version":"0.1.7","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.1"},"_id":"react-maskinput@0.1.7","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-ldtQLr+x0NvF4FWzts8dJXV5kodCp+hTty9zZcNHmw7Saf0RTIDLNXX6bjgGZ4KyAWtBZZYkUsdY01UqjjK1mg==","shasum":"dbda4885df1acb57a089f58ad4bc376674a60f7e","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.7.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC3CdTqd9nEWAbx85xgGvpZThuWzdXQs9dqc4sDNE8jNQIgBrf1DVDX0OSsygj5nWqqj2ceoIHO+WFzTFVQqmtTrts="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-0.1.7.tgz_1501677349993_0.43738748342730105"},"directories":{}},"0.1.8":{"name":"react-maskinput","version":"0.1.8","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^0.1.2"},"_id":"react-maskinput@0.1.8","_npmVersion":"5.0.1","_nodeVersion":"8.0.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-KNJOPz4BNdtV8/2zVg6G7gRKSlnAufzpirjOZJ7SiGWNknky7CIlbipduOBGXWURvVXI6xoYKoOJ7zhTyQWNDA==","shasum":"13412126de2cf0edf0364f9d9b4daafa44d7eca8","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-0.1.8.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwLjpC9ohmq4DB3dKcirvU/tLPuWNRK/HBeE1fTq75+gIgbrN3hfacp+0IFPj0TjmwCbqro40/M5vjGovhKtmrWGY="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-0.1.8.tgz_1507998252127_0.09310536342673004"},"directories":{}},"1.0.0":{"name":"react-maskinput","version":"1.0.0","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^1.0.0"},"bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@1.0.0","_shasum":"4d4e4c42cadd289c219256c34fd741ef552ba830","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.10.3","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"shasum":"4d4e4c42cadd289c219256c34fd741ef552ba830","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-1.0.0.tgz","integrity":"sha512-16qh5WA+37nWoEhDU8E5DPjw8L1BSxbiGc7iDGSXJ83Yhk+LFp388Z9GDkoz1j+u5G5AqouuoeNbW2UPHgZqBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF25bOeHF9g80If+OpYyPN0LgDA0DgvlS/O7WCuCJX/gAiEAtf7oyFbLVMaCDM5MUSg6PlspeQUopCcoLHazMwlmJHY="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput-1.0.0.tgz_1512214006736_0.5861126694362611"},"directories":{}},"1.0.1":{"name":"react-maskinput","version":"1.0.1","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib/maskInput.js","scripts":{"build":"babel ./src --out-dir ./lib"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","mask-input","input","react-mask-input","formatted-input","credit-card","phone","date-format"],"author":{"name":"Nikita Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">15.4.1","react-dom":">15.4.1"},"devDependencies":{"babel-cli":"^6.24.1","babel-core":"^6.24.0","babel-loader":"^6.4.1","babel-plugin-transform-react-jsx":"^6.23.0","babel-preset-es2015":"^6.24.0","babel-preset-stage-0":"^6.22.0","webpack":"^2.3.2"},"dependencies":{"input-core":"^1.0.0"},"bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@1.0.1","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"xnimorz","email":"xnimor@ya.ru"},"dist":{"integrity":"sha512-hYAEgL2rxPAsia/MGUmFdb46eKsFSACm5lJ/Ql92Z+v3GmKuB/AC/9mG0FNiriqeg+xCqnJqlhUsTWvp+LKhAw==","shasum":"9d3df4a5a019a03676401c48e3d04ace08df9d05","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-1.0.1.tgz","fileCount":5,"unpackedSize":29640,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbXtJACRA9TVsSAnZWagAANY4P/2FJBWuusHPwNDHQU2bt\n0uowrqQhOFYoBqJGysaA/Go0MjwusvbkiqoXqmgpELXm77lh+wwyp6+J+XLd\nutKMYaKB/xk5R+j0CQwYiQjr4ChXAOssnkmgH36HMTUkhyHpJP/kvvOkM+Cn\nluUbuPu96fMuRl9zACysDg2xRQJGx5CxcxX4oJ8+1FJ1rnAUHJF7g3az0Kz5\n2hqEMY3aSyYE7ligp5QVMGuIfvqCbQBpM3d1zznbnaID/4SLVEdY644sqhsq\nF5DVVzJ+AOWVYtFl8KXrt412RIcsXhKP9Mfh1WKpqKsZtfCPgbIegWelCurq\nWbB3llxs7UdixRyDIyvMbuj+mZyA3nFWq18XiIO0Ei1tdoXRksJrzrB/eiM8\nsX4ArVVaINkd2vZ1eQoEOSbxzqECbjPQuCHywnWxp5UtgDuU3RoujOhGYFMI\nuU5MQjXF2wMRmo9zv0oAAykt4xUQLiDgK41slkSz+gjRurRNbQmXzyYlEitK\nwVms2zfsI4rTQsXjPjhR+Z4DGT7ApfN8xfJTQkJtGvuydGcaB/Wndhd+KwZD\npSsiViEY05LafdLpYwT5K5F1Fd1kpIXGHE5VMDgXvwJlFRqsrItdVy7uzNBP\nxs+3sMqelUxNRirC2Z8NBJAIVL0kNgOwy5f/VvKZBx7BtRWImpYluPFirw+t\n215a\r\n=4QjF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHciiIznNYyeZg7dzoYm9uY2bLjhCxiHXIDjSPGxzEo9AiEAox+5AuDWuCL36O4pAgN8Fm3s+5lRHyU+gE/ZbkwwhOY="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_1.0.1_1532940864365_0.7566743366905149"},"_hasShrinkwrap":false},"2.0.0":{"name":"react-maskinput","version":"2.0.0","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.0.0"},"gitHead":"e103d7b6752b48d60a77e1684e32c7e60984a511","bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@2.0.0","_nodeVersion":"12.11.1","_npmVersion":"lerna/3.17.0/node@v12.11.1+x64 (darwin)","dist":{"integrity":"sha512-Ddni+EWx0i+J6jRz00kM/Fh4nu/5hzuwvSox/3bCVjehqZCGM2IXdbEJG/XzB1ifjtcCYtDRop3TX/PM5HNlXw==","shasum":"c9db3a45e6d9cad23e4c00e93aeeaeb950784fe4","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-2.0.0.tgz","fileCount":7,"unpackedSize":31898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdovWSCRA9TVsSAnZWagAADDwP/jnet96MS9V8Lrx/g3cL\nFjxTDGLf9y/DHpr5/tjFyuj9F8wQx5EK1XIQ5BopkU/zZDtEXGz5kILKwRrL\nbe6cuWAhhdISfKWXUOIZ9cPFSjOuhfl3cLY+yj6MMIUr+D1GTAfNVcP3NA/l\niVESf5nbWy54Igbb9FdJmHGBf/kfwQOon5tuwU6/H5sL3lPXk9XtqDnusgTM\nRMbRYwARnFMXXz5WFtaFUfgjbYmcA6cThMzKpcv+0iJQIl+oQJFZ+MBodaVs\nNQol4UzwP1h1f9g6rePnrQiO2aPxScjidLwL95NXFSrDuhas/fwGHOJYSO2d\nYjWE0zEqk01xI2nZmsEiS9RkLl/olSt4yrt0+ORCwH+ywMUUvhrNe6GMhzFH\nVVKJJS9t2Rbn78rNyi3eA875IjOD4BuI9gn8waXWZgQU0ZYLiqXXcByYnX22\nZwFFvDexxrWg7DxWn2O02yWamgokk2q5Zmb63V2Gw6Tt09luPIlItZdw0cEF\nvYSvbdSjek6PKQU6gG/so8gPm9BQnSGHB7l71nZtYeTiNEaetRSZqbp7WSR8\nm43hKGZFmvp1Ci9p01rm8Biyy0neG4NTTN/4neAMxPnqkuRdRZmNiQ4/wJdB\nOtB6pa5zJJVPVIlFe3M3ark290WdMoE/6oaM5lnP8JqiJfN7HbM2aGn15Pyd\nHmN1\r\n=bnop\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+oUb6Vg+uPUdzMKUpjpjaLp4BiXvoZAEULxlHBl/wLAiEAvosPh6f8LA7VPBvE4WgqiNpIDnmvONb1FVcO8YHKvM8="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_2.0.0_1570960786197_0.7782730905472524"},"_hasShrinkwrap":false},"2.0.1":{"name":"react-maskinput","version":"2.0.1","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.0.1"},"gitHead":"345ef7c04fc0fa56095542a3950b29f62c8e7269","bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@2.0.1","_nodeVersion":"12.11.1","_npmVersion":"lerna/3.17.0/node@v12.11.1+x64 (darwin)","dist":{"integrity":"sha512-lspRHt5B/9DnAyf0ksxg8PPif1zfbCTVLSn5eN7oMyXB2QMdsMMHmSSnK4Kh72371J/RBQEhbC3dc7/REbw9ow==","shasum":"2c1812d980a81d7324f3dfe4d6d19476240ed45e","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-2.0.1.tgz","fileCount":7,"unpackedSize":31898,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdoxejCRA9TVsSAnZWagAAowgP/0cbhgON0ZciXyIO3Y03\nH/FriplUuNcic9OPncRwnWEQK3kCQPKppLO+NzPGkKV+iae4kAm4/laIAyTO\ndGIosFA3xBAJ0aa3ErVKtMg+wEQWQUOXb81bFrWD4HLd1Dq9Mo0Iob3/p0FA\n4UCqFtsulx3iQE3eZSLq8fMkc6uZWLk16aW+uUoMg+k+gsp5HVn6xBh/3XxP\nE/WaqXqq7eU9KlwvGKy2hQ4OoeEO+0TCBlD3zMKpcYZXNrqY11UD/4e9yDPp\nvitGZPSG3x6PmQRVczIP9fP4tEfJMxYF+EgG3txjiTzNevq4cmnYiAyIxEzT\nsjPxlXe86tMTXrQAeQoYGy1xCpwZEYbMtIEmGR+ZW3YfayyG8y1K8vTnC33b\nkXFytVKP6IwWDfp6L5g2Rkn5FXFCUOcZ0IS/gj7O0jhpIdlaHgeLDPgkg2qs\nElZBznBUlNO7PPplZmZ4gvLnBdI/SIOzUaxjywZAe7zFhQaDxBCsyQKjXRnN\nf33EgAUbHgQfXqrPEXZQYNWKsTpLdcD8gvLhDVpATbe2O1eIVY933Kq/v2kO\nrqxKdF11NnKQ9qLKAcjme/DtuUbAs+NBsSF+yC7ZpT0XZdH2II16V1s4hD7X\nWm6rNEDaQxCZhuVbcGfIZzsla0Iz8Jm6MO5/rEvfJD1qEiuVZvm8fdSR/hv3\n9Spy\r\n=qaJD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAcXVJOxndClm0bd0xdmJiRMUpq28P/WS+1mn2LcVp+tAiAdplr07L2v/2peWbNX9W+Nq57y1tzYac1A67E37sthJQ=="}]},"maintainers":[{"name":"xnimorz","email":"xnimor@ya.ru"}],"_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_2.0.1_1570969506570_0.20719475785392927"},"_hasShrinkwrap":false},"2.1.0-beta":{"name":"react-maskinput","version":"2.1.0-beta","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.0.1"},"readme":"## react-maskinput\n\nDEMO: https://xnimorz.github.io/masked-input/\n\nMask input with simple API and rich customization.\n\nYou often have to create input for a credit card, phone number, birthday, etc. Each of this usecases requires to input value with some formatting (for example 0000-0000-000-0000 for credit card).\n\nreact mask input could solve this problem without the tears.\n\n### Installation\n\n```noeditor\nnpm install --save react-maskinput\n```\n\nor if you use `yarn`\n\n```noeditor\nyarn add react-maskinput\n```\n\n### Usage\n\nYou can try all of this examples here: https://xnimorz.github.io/masked-input/\n\nThe most simple usage is a credit card (click to the `show code` button):\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput alwaysShowMask maskChar=\"_\" mask=\"0000-0000-0000-0000\" size={20} />;\n```\n\n### Other use cases:\n\nAll this examples you can try here: https://xnimorz.github.io/masked-input/\n\n#### Credit card:\n\nAll props you can change right during the runtime.\nCredit card with automatic switching between visa and american express format (for amex format write 34 or 37):\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('0000-0000-0000-0000');\n\nconst onChange = e => {\n  if (e.target.value.indexOf('34') === 0 || e.target.value.indexOf('37') === 0) {\n    setMask('0000-000000-00000');\n    return;\n  }\n\n  setMask('0000-0000-0000-0000');\n};\n\n<MaskInput onChange={onChange} maskChar=\"_\" mask={mask} alwaysShowMask size={20} />;\n```\n\n#### Date\n\nDate input with custom year (2 or 4 numbers):\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('00.00.0000');\nconst [maskString, setMaskString] = React.useState('DD.MM.YYYY');\nconst onChange = e => {\n  if (parseInt(e.target.value[6], 10) > 2) {\n    setMaskString('DD.MM.YY');\n    setMask('00.00.00');\n  } else {\n    setMaskString('DD.MM.YYYY');\n    setMask('00.00.0000');\n  }\n};\n<MaskInput alwaysShowMask onChange={onChange} maskString={maskString} mask={mask} size={20} />;\n```\n\nYou can use any regular input fields, like placeholder:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('00.00.0000');\nconst [maskString, setMaskString] = React.useState('DD.MM.YYYY');\nconst onChange = e => {\n  if (parseInt(e.target.value[6], 10) > 2) {\n    setMaskString('DD.MM.YY');\n    setMask('00.00.00');\n  } else {\n    setMaskString('DD.MM.YYYY');\n    setMask('00.00.0000');\n  }\n};\n<MaskInput\n  onChange={onChange}\n  maskString={maskString}\n  mask={mask}\n  size={35}\n  showMask\n  placeholder=\"Enter your birthdate DD.MM.YYYY\"\n/>;\n```\n\n#### Phone:\n\nThe USA phone format:\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput\n  alwaysShowMask\n  mask={'+1 (000) 000 - 0000'}\n  size={20}\n  showMask\n  maskChar=\"_\"\n  placeholder=\"Enter your birthdate DD.MM.YYYY\"\n/>;\n```\n\n### Customization:\n\nYou can use defaultValue to set up componant as uncontrolled input:\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput alwaysShowMask maskChar=\"_\" mask=\"0000-{0}-0000\" defaultValue=\"123456789\" />;\n```\n\nIn onChange | onChangeValue callback you can receive on processing value.\nThis example also shows how to create controlled input:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [onChange, setOnChange] = React.useState('');\nconst [onValueChange, setOnValueChange] = React.useState('');\n<div>\n  <p>Value from onChange event is: \"{onChange}\"</p>\n  <p>Value from onChange with replace is: \"{onChange.replace('-', '')}\"</p>\n  <p>maskedValue from onValueChange is: \"{onValueChange.maskedValue}\"</p>\n  <p>Value from onValueChange is: \"{onValueChange.value}\"</p>\n  <MaskInput\n    onChange={e => setOnChange(e.target.value)}\n    onValueChange={setOnValueChange}\n    mask={'0000-0000'}\n    value={onChange}\n    size={20}\n  />\n</div>;\n```\n\nCustom classes:\n\n```js\nimport MaskInput from 'react-maskinput';\n<MaskInput className=\"custom-input\" alwaysShowMask maskString=\"0000-(TEXT)-0000\" mask=\"0000-(aaaa)-0000\" />;\n```\n\nGet HTMLElement from the component:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [el, setEl] = React.useState(null);\n<div>\n  <p>\n    <code>el is: `{el && el.outerHTML}`</code>\n  </p>\n  <MaskInput\n    getReference={el => setEl(el)} /* Now in el is storing input HtmlElement */\n    alwaysShowMask\n    size={20}\n    maskChar=\"_\"\n    mask=\"0000-0000-0000\"\n  />\n</div>;\n```\n\n### Props\n\nList of specific react-maskinput props:\n\n`mask`: String. Format:\n\n```\n   0 — any number 0-9\n   * — any symbol\n   a — A-Z, a-z\n   q — \"q\" letter, 2 — \"2\" letter etc.\n   \\a — \"a\" letter\n default is undefined\n```\n\n[function] `reformat`: user function, if you want use custom reformat logic. It's userfull for numeric inputs, decimal numbers, emails, etc.\nIf `reformat` defined `mask` will be ignored. Reformat function must receive object with several fields:\n\n```javascript\nfunction reformat({value: string, selection: {start, end}, input: string}) {\n    // realization\n\n    return {\n        [any] value: // value that stored and called in input core functions (such as reformat). Field may have any format,\n        [String] visibleValue: // value that displayed to user in input if showMask is false,\n        [String] maskedValue: // value that  displayed to user in input if showMask is true,\n        [{[integer] start, [integer] end}] selection: {start, end} — // new selection range\n    }\n}\n```\n\nIf `reformat` and `mask` is undefined, input allows to enter any values.\n\nYou can define custom mask by passing `maskFormat`. This prop must be an array,\neach object in array have several fields:\n\n- `str`: matched char for mask\n- `regexp`: validation rule as regexp\n- `type`: special\n\n`maskChar`: Character to cover unfilled editable parts of mask. Default value is ''.\n`maskString`: String to cover unfilled editable parts of mask. Default is undefined. If `maskString` define `maskChar` ignored.\n\n`showMask`: show mask in input. It's possible only if mask have not cyclic. Default value = false\n`alwaysShowMask`: show mask when input inactive\n\n`Callbacks`:\n`onChange`(event). Event is synthetic react-event. If you want access to input value, you may use: `event.target.value`  \n`onValueChange`(event). fires, when value was changed. Provides 2 fields: `value` and `maskedValue`\n`getReference`: Callback to get native input ref\n\n# License\n\nMIT\n","readmeFilename":"README.md","bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@2.1.0-beta","_npmVersion":"6.4.1","_nodeVersion":"12.10.0","_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"dist":{"integrity":"sha512-O58QSo581ViThuHrRiDJGFikEtn4np/mpT4bJzh/ph+vywe14zN9QGz2Kkb1jaY/DByblQxLbjTAVjZZcjr0GQ==","shasum":"e6a23ba39ef365203f9c05e52db22804872c65cc","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-2.1.0-beta.tgz","fileCount":6,"unpackedSize":29296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfaemLCRA9TVsSAnZWagAABfwP/2EKaAWmedI2EcDXiNOg\nTX+9CLvCIe0EY8osg/TxHgwipELyFpyg8DTyqJUn6crf9oiMHESvyjE8V34y\neMVOtRpnV7m+8PZkfXEUTfJBpWhlQcvVjyTRQ5UJt224zXwMEJGQVjwXjx8K\nWyIxTVA6OfsXJyoepMY+GdWUoS0jJLvEt5UD3pXKLCIZagctOUp5ogSYATKb\naMf5q1Zd740C5CJCSJ41sg+EENciyns68VlnRKqKx7Z8LY8D3Lf+/5/yu1c8\nDL9DOCdw5Oc/BTVqS7WiQARl1sqN37LCDEF2f9I6+TzPVDifc6WAiFYNq9nC\nnGI497xH01Mdwp7axffvZum79v2wVXtvC1xC1wxu9Ja6zslvgJGekwaQbpLb\nUbCeGWJ3/LcRQc8h7gk7g3iMv6aH7Fi8ik0bKOvwwrv18HluDAFBrTMWIsKE\n7v9TpdAa33wzkHNFJHYnhbLPx+fLZnvunH87kaeyjCVZ/F3G8hXAqsds7fqd\n6ba56UvmHdRKkvxwAw9o6IeZOskClOWnZH8aKm8R6qFfjfqSHBOkIFkIRim2\nsYynizs8tB0PbYh4a/4Njq7FdyPoLPykbKrKuE+KG1Lbs6SItKsT7PqHPeI0\n2Qk/sexuQmXwZ6HHJQt/G2NXkHp1+QDQkhKrnIFrAhJEUq789/6C2tUoFxHo\nNgxt\r\n=r5v0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDVMWFWyar3oa2NTILULiZU7SwLSYdnk9u0DPGmgcI6nAIhAIx1WfzQgBRket1g7cEByujWEcmKX7qDULibAgkEV+8i"}]},"maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_2.1.0-beta_1600776586863_0.05583006826371473"},"_hasShrinkwrap":false},"3.0.0":{"name":"react-maskinput","version":"3.0.0","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.0.1"},"bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"12.10.0","_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"dist":{"integrity":"sha512-3XHae3oSrjlJPIggOJBvqaBwrorZtIROohMV1KHZHeSIazNP5b8RNjUvU8fxXA9gSMvlHYexd7AQdV/BlZ/VFQ==","shasum":"3c68f2093b95c50fd65a3d1f73e96d3af395d039","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-3.0.0.tgz","fileCount":6,"unpackedSize":29484,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfa8c8CRA9TVsSAnZWagAAmcQP/RKaxxQRomsuTPQxbbE7\n7VSkmuyho3lJMWFkq0B14TcY/jcRiD2V4paw7lUe7gOof2Jh1gC89DNK/LGs\n3XEsFWrNZ5iNTQsqqDxX6Dx/ky60rFKWtKPC4w35gZ4MBW9uT0YtlXHz/qmP\nrgKeU1wHUbzONhTMDSK32Lzlrpvpw+uaQwsLf7y1cOcdQqUSuVO293fAPSeq\nBHQ7ApqC0CJHUbsKgZ9fUzJEsvDP2Xx3k8a5MHR0v8HndYOqUhEG7gP94Idz\nby1kAuGk6LWi/mB3tL6xiz04tkBXYM51pMFZsdl1JUmPKTjZa/srvF5XiNSZ\nFu7MPcnhu68ZzqvcyLkTNFjhC0lxB58zrziLp8Y0LToj2LIRSdOTWjixqK+V\n7DuoI4u/In8aExTrkMzINa68Xce3DeNANvKIjQbrDefBYbDtsqMHyuWnJXp8\nq7cmKkk78eTv9UcyVyWEAe+1R16DEkEb73p6pazUlOc77bC7PDwzBDTwqcJH\nv+LjHLw/eUUGfRD43ywx2ux4cZRqNgTdSsRDmTahbFic9j3zMUhnzqgVTh05\ny7DCiePBhBsDIww9DxnrSM/9rh97z3f52P0Vtw33kHGnP1oLD1lQslD3RJtN\n6BZZzVyOb6yBtLykpPgswtaZA3/LinFlE7WbQlxdcQjxRcNz8KiI4IDoqbp0\njTF/\r\n=VDCh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTavylzF5n/LiD+2qENX8OqPDNVYt3msTP9xDy+8qHywIgMStyTPaV/wCtucYkzMJdPlJlujpGjNTtVl3l6viFDto="}]},"maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_3.0.0_1600898876477_0.9582257380727695"},"_hasShrinkwrap":false},"3.1.0-beta":{"name":"react-maskinput","version":"3.1.0-beta","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.0.1"},"readme":"## react-maskinput\n\nDEMO: https://xnimorz.github.io/masked-input/\n\nMask input with simple API and rich customization.\n\nYou often have to create input for a credit card, phone number, birthday, etc. Each of this usecases requires to input value with some formatting (for example 0000-0000-000-0000 for credit card).\n\nreact mask input could solve this problem without the tears.\n\n### Installation\n\n```noeditor\nnpm install --save react-maskinput\n```\n\nor if you use `yarn`\n\n```noeditor\nyarn add react-maskinput\n```\n\n### Usage\n\nYou can try all of this examples here: https://xnimorz.github.io/masked-input/\n\nThe most simple usage is a credit card (click to the `show code` button):\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput alwaysShowMask maskChar=\"_\" mask=\"0000-0000-0000-0000\" size={20} />;\n```\n\n### Other use cases:\n\nAll this examples you can try here: https://xnimorz.github.io/masked-input/\n\n#### Credit card:\n\nAll props you can change right during the runtime.\nCredit card with automatic switching between visa and american express format (for amex format write 34 or 37):\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('0000-0000-0000-0000');\n\nconst onChange = e => {\n  if (e.target.value.indexOf('34') === 0 || e.target.value.indexOf('37') === 0) {\n    setMask('0000-000000-00000');\n    return;\n  }\n\n  setMask('0000-0000-0000-0000');\n};\n\n<MaskInput onChange={onChange} maskChar=\"_\" mask={mask} alwaysShowMask size={20} />;\n```\n\n#### Date\n\nDate input with custom year (2 or 4 numbers):\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('00.00.0000');\nconst [maskString, setMaskString] = React.useState('DD.MM.YYYY');\nconst onChange = e => {\n  if (parseInt(e.target.value[6], 10) > 2) {\n    setMaskString('DD.MM.YY');\n    setMask('00.00.00');\n  } else {\n    setMaskString('DD.MM.YYYY');\n    setMask('00.00.0000');\n  }\n};\n<MaskInput alwaysShowMask onChange={onChange} maskString={maskString} mask={mask} size={20} />;\n```\n\nYou can use any regular input fields, like placeholder:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('00.00.0000');\nconst [maskString, setMaskString] = React.useState('DD.MM.YYYY');\nconst onChange = e => {\n  if (parseInt(e.target.value[6], 10) > 2) {\n    setMaskString('DD.MM.YY');\n    setMask('00.00.00');\n  } else {\n    setMaskString('DD.MM.YYYY');\n    setMask('00.00.0000');\n  }\n};\n<MaskInput\n  onChange={onChange}\n  maskString={maskString}\n  mask={mask}\n  size={35}\n  showMask\n  placeholder=\"Enter your birthdate DD.MM.YYYY\"\n/>;\n```\n\n#### Phone:\n\nThe USA phone format:\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput\n  alwaysShowMask\n  mask={'+1 (000) 000 - 0000'}\n  size={20}\n  showMask\n  maskChar=\"_\"\n  placeholder=\"Enter your birthdate DD.MM.YYYY\"\n/>;\n```\n\n### Customization:\n\nYou can use defaultValue to set up componant as uncontrolled input:\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput alwaysShowMask maskChar=\"_\" mask=\"0000-{0}-0000\" defaultValue=\"123456789\" />;\n```\n\nIn onChange | onChangeValue callback you can receive on processing value.\nThis example also shows how to create controlled input:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [onChange, setOnChange] = React.useState('');\nconst [onValueChange, setOnValueChange] = React.useState('');\n<div>\n  <p>Value from onChange event is: \"{onChange}\"</p>\n  <p>Value from onChange with replace is: \"{onChange.replace('-', '')}\"</p>\n  <p>maskedValue from onValueChange is: \"{onValueChange.maskedValue}\"</p>\n  <p>Value from onValueChange is: \"{onValueChange.value}\"</p>\n  <MaskInput\n    onChange={e => setOnChange(e.target.value)}\n    onValueChange={setOnValueChange}\n    mask={'0000-0000'}\n    value={onChange}\n    size={20}\n  />\n</div>;\n```\n\nCustom classes:\n\n```js\nimport MaskInput from 'react-maskinput';\n<MaskInput className=\"custom-input\" alwaysShowMask maskString=\"0000-(TEXT)-0000\" mask=\"0000-(aaaa)-0000\" />;\n```\n\nGet HTMLElement from the component:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [el, setEl] = React.useState(null);\n<div>\n  <p>\n    <code>el is: `{el && el.outerHTML}`</code>\n  </p>\n  <MaskInput\n    getReference={el => setEl(el)} /* Now in el is storing input HtmlElement */\n    alwaysShowMask\n    size={20}\n    maskChar=\"_\"\n    mask=\"0000-0000-0000\"\n  />\n</div>;\n```\n\n### Props\n\nList of specific react-maskinput props:\n\n`mask`: String. Format:\n\n```\n   0 — any number 0-9\n   * — any symbol\n   a — A-Z, a-z\n   q — \"q\" letter, 2 — \"2\" letter etc.\n   \\a — \"a\" letter\n default is undefined\n```\n\n[function] `reformat`: user function, if you want use custom reformat logic. It's userfull for numeric inputs, decimal numbers, emails, etc.\nIf `reformat` defined `mask` will be ignored. Reformat function must receive object with several fields:\n\n```javascript\nfunction reformat({value: string, selection: {start, end}, input: string}) {\n    // realization\n\n    return {\n        [any] value: // value that stored and called in input core functions (such as reformat). Field may have any format,\n        [String] visibleValue: // value that displayed to user in input if showMask is false,\n        [String] maskedValue: // value that  displayed to user in input if showMask is true,\n        [{[integer] start, [integer] end}] selection: {start, end} — // new selection range\n    }\n}\n```\n\nIf `reformat` and `mask` is undefined, input allows to enter any values.\n\nYou can define custom mask by passing `maskFormat`. This prop must be an array,\neach object in array have several fields:\n\n- `str`: matched char for mask\n- `regexp`: validation rule as regexp\n- `type`: special\n\n`maskChar`: Character to cover unfilled editable parts of mask. Default value is ''.\n`maskString`: String to cover unfilled editable parts of mask. Default is undefined. If `maskString` define `maskChar` ignored.\n\n`showMask`: show mask in input. It's possible only if mask have not cyclic. Default value = false\n`alwaysShowMask`: show mask when input inactive\n\n`Callbacks`:\n`onChange`(event). Event is synthetic react-event. If you want access to input value, you may use: `event.target.value`  \n`onValueChange`(event). fires, when value was changed. Provides 2 fields: `value` and `maskedValue`\n`getReference`: Callback to get native input ref\n\n# License\n\nMIT\n\n# Changelog\n\n## 3.0.0\n\nThe code of react-maskinput was rewritten to react hooks. It should be compatible with the prevoius version (2.x), but in some complicated cases behavior could be changed.","readmeFilename":"README.md","bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@3.1.0-beta","_npmVersion":"6.4.1","_nodeVersion":"12.10.0","_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"dist":{"integrity":"sha512-c/TPYE40GVE+qZ429A4omFnMhBIUm1uh5RUTd3v4yZmazL6XKwUjvmBbJy7QMhPYxCCvjls1e+hW3ap7HQ876Q==","shasum":"d7c43c1da8f6be4d66c09b0bf041ca20a01de4f1","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-3.1.0-beta.tgz","fileCount":6,"unpackedSize":30100,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcvkZCRA9TVsSAnZWagAAx0QP/1A96TJIq9Hf8b9OiRDS\ndVCRGyI3MQ9jPr5fzOlLqOFA3miZ2hRAOSccwZQtjTWeG5krC9oIRcJwzPeZ\nZ84fd7ioqxENzOaABdTFsBsMTDI+XixuJB4mqaT1WyqaBG2Rfet/tVKXk4q2\nieY315HEm4JN2n+daI3qPkp1LzgajqSrtivJikrRqC4ROtXBidj+6dFYe89X\nzwgPZmSR9FWVpsld0L2eR1Amc9UrWeteBjt+rdB+s3NpeyMoSCA7tMVQuR14\neqXRGYtVqVLnUJFZquHgtsH903aeZprJf+dORbXgo/5A36CLb/6tq0myecuC\nS2iiTAW1AnlbmmrfgHky77PPh6XrfkRpd8vq9SVlg+DLuRhv8IHeft3yYWVV\n+jvX391hum3GZ5sMBOdIzpaWperLGF8v5lu0Mb/gFfN4JKgc3FYpLDhwVGqy\neTQ7y/uJEFpfVp41/7S3AByCk4A8bnu6Q0B4ewTypX0MjMURs6k1e8/oehMC\nkPapfddkylliAczMYHeAHoH2/QWKOVbUHa9F+dDCplNExmxhtvRDK0RY4lqD\nE5KhOOItgmkU+vNxohOTwQXOuUufw1siTVVtm7ipQ0SGzVjqsUNUgycbh3f3\nS7mG/L3qlCnxIGT9xMWhQ0cIaxG2aF5rMapmCN2zhM5ewh3OrB/BWCwxKD+T\nZzxv\r\n=idHH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHVysy37iXMUnjMJwK58Vwh+GGw3QV7kbXJpo2Ido8cQIgd6GJaxs/RTxK2EJ9aSiL7TdqjdvEFKZNhrxy6ux5zuY="}]},"maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_3.1.0-beta_1601370392809_0.7541505594010851"},"_hasShrinkwrap":false},"3.1.0":{"name":"react-maskinput","version":"3.1.0","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.0.1"},"bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@3.1.0","_npmVersion":"6.4.1","_nodeVersion":"12.10.0","_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"dist":{"integrity":"sha512-Fp+4DLuK68dl5FDDqfV3XutT5H3nTjXIJW8j8HaD94Uf7qT+sSRWeMOJu6REpzqZv9OJ5HRlorRUrEtU1elbRw==","shasum":"8e39d60b13d7cd78fe45127ad265169a1587fff8","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-3.1.0.tgz","fileCount":6,"unpackedSize":30200,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfcvxDCRA9TVsSAnZWagAAU7IP/i0Sb2nZeJ3JrZOe3oeG\nWk/J9sfnwfbl5mgwr78SxZY+scrU20fD0+bRbHJJH4+Gmm1afhN+IK0gMo7M\n2IBdSsro7HaFrX6XQDrc1T6gQiWokyREDmsKBOrO7zF7ZWyA8Gxk78/Y/+S6\nqRhQNfFDsAZ2wmjx0guIx7w68UqA3YaUrYW0vcnQNp/aNXZ02+EeJg8g4VFS\n0wW0ND+E97JIHuSO5lQ/ByIvUvqETqzUKZuQ5tHya0ghWqnAOcAR4++7HK4T\nO1/gB6lM+TEBWtASLNSnhmYXIkT/EuPmuz5Fze2EddxE/03bYORQgqvUp1On\n5AENn1Zq+1QjdgNsrKXgaTtfjYlnggf9B69gibzsMbdeueXB/mDbeC165T79\nVMqOTJF/ec9EuSukcsk+0JhMG1LxIzF/YzdJ3kgTGOq2Z9jt8rxQhJjxfS3a\n5eL9aHYU8CmkZIgBQ8GkswUjY0aKTrDeXPMEGMa/7xlf37cqWeKCJG1Dj2Bb\n5UbFuzMQjJgkZxcLNGliqqgY6jSVK74sIbqhn8mPVBkKFoQFAOYa8GBv+1Ga\nWl5zibRWlqkzBZh6B3CEfoZTPxXbhMqSUEQmmEvwpWjZSNRivsZ/Mn5nJrE5\ngR+yBIdg2YjicoAaQ0kaZrase8m1CuoD1fuJh1dqdJm1+O0ytChQ20opl3CC\nNh3y\r\n=lsxS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFqqrRTUpXD805hluW59XdILT5yaPIUCkRiQwc0gxX1xAiBt7TvXMrcNgaQeT6DC0PR5EqyWcX0ITmA+LwnfVGOegA=="}]},"maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_3.1.0_1601371202874_0.003915754792666926"},"_hasShrinkwrap":false},"3.2.0":{"name":"react-maskinput","version":"3.2.0","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"http://xnim.ru"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.1.0"},"bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@3.2.0","_npmVersion":"6.4.1","_nodeVersion":"12.10.0","_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"dist":{"integrity":"sha512-4JHk1ylfZ3fMPvh50PZZLy9AjRIhQ9UHH/7CgMk+HkDKO1BpIM2/vJefOsKn0HA7hHxUe/Sf3DPkwIh9Hh7Ukg==","shasum":"0c56cd12c450645054da159d8908b014993e8156","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-3.2.0.tgz","fileCount":6,"unpackedSize":30421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeDfNCRA9TVsSAnZWagAAyqoP/1DnbLqIiJKtixQRulxG\nhRfXhdpVARnsD3MNonPtVWKUVv37El4CoPjld7RXHcSTg1pQ1ok3QXknrBqa\nYRQ/2ZuNMEXZwnBPLZzRMmO87gD8JkLuPACAgs74KjyUvrRnaM2eehtWNWzA\nWdWsJVcKV6mTLE756lk8Fisb1HazJ8GbBGjNekwBM7CEXfX67HFLgdZJ82iA\noIbLANEB9e2wQXIa4qGAgmPD9nkU1Z/R5viMMbvQIwlF2DLq9WsHjZo6W3xF\nDB2EOTZekSA/gAWkmATcyPyR43DWKDy2DNyxkaAS81GBxxJaM7SYkVfK9F8Z\nq35vptxHyxZ0XheMvAtGFWi927Muv1p9IsL7OT3QD30lRjB38RzmPc5SJdKh\ne/UgeXzyaUfp566yMAyqIJI+V/mKABEhFTIVF3CfZJuFSTRFhcWo9U45mCnm\nWaO7a0XVemVaqM7gy0r5yVyzxf/wWQJp80UsfW0pxUIYwIMxACB8g+y1iQAz\nUt1bdVpl+YvvoRPz8dNF0+QGvkb0SW2zqZnoY/2mQt9XVuhN9i+e4aqKAXh/\nXQIK9U2bIFM5M9btA/Qfar7WhhQIO2dJeZlkpezxse0KuA/bme0bFCnd6oGr\n38MB7ANoj22X38T1t1++2dIkuBYnVtUom6qFzZxeVzi+O4LYsO4UWLObO+4B\nkLPX\r\n=7QSk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGN1Chu9uSUXA4ovkU5EMwJUpb8asWWcykAP5CBjt2+AAiEA+2t6qd7FtWKLtgDVqu/X412WgzIhtJDOJLxu/Z16waw="}]},"maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_3.2.0_1601714125114_0.501105178617788"},"_hasShrinkwrap":false},"3.2.1":{"name":"react-maskinput","version":"3.2.1","description":"React mask input component. Allow to input formatted values with fixed length or apply custom formtatting function, to format values with any length","main":"./lib","scripts":{"build":"tsc -p ./"},"repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"https://xnim.me"},"license":"MIT","peerDependencies":{"react":">=16.8.0"},"devDependencies":{"@types/react":"^16.9.5","react":"^16.10.2","react-dom":"^16.10.2","typescript":"^3.6.4"},"dependencies":{"input-core":"^2.1.0"},"gitHead":"f02cbdbab3e349f912cbabe9b500a607bb14c21b","bugs":{"url":"https://github.com/xnimorz/masked-input/issues"},"homepage":"https://github.com/xnimorz/masked-input#readme","_id":"react-maskinput@3.2.1","_nodeVersion":"16.5.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-m9gcW22zHVSFXd1+5+GZ/urFgRxQG+iLXCG4h18JY3d1rtdxbc2ZjMHQuxPnFXaPRCkbErQSJKAfeqzVo37n0w==","shasum":"a1a83adf142813566fdd436ef934c6e4e1827929","tarball":"https://registry.npmjs.org/react-maskinput/-/react-maskinput-3.2.1.tgz","fileCount":5,"unpackedSize":17104,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEmJxdPz6mZkxkzm19mOM2VKKoGA7+iNlZOFSjbZnYxmAiEA0doVrp4FrQ962rdX/eERtfH8e+j+4HKNGFgFhhtzgQs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj2YjfACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpVqhAAhLWOqD9zLDm6oLhFz/X3AYEfqAhR5+9KrXZe49jnJOkF/oWy\r\nsD09/1znoQ2mnJa4p+ySW/vM739qhbjVHuFYE1kp6/s0qZKaRnvqVxFzcRBp\r\nQRnsl8T2TEM4Y3M9B+3z6gDu3/KmaH6yd8GW/0jREGe2SPHws87eFDncz15e\r\nouCVyq/8cKLd3TmoIE1G0Qj5aO9uUKhGcOaXxC2D9h4UgFO4cw5r/85JfnjC\r\nejoD84L8hGaa1P0w+1X5tOLgtOrVgaykinMyb2oXFNqA5D3jQ5xoGZCXmQqQ\r\ny5vm+lJtIUjItah/Ryny/mqgpNn5cQJHLe7UQzWVIQ8K1QuzOFX+vZP++c4i\r\nbgaRsLCZLovtRSLrcHDfcEe2fCwPhXa/o6q/i+7NcBkz8lcp7UMMkgI7piUV\r\nIigFODrA0lXbhDsMBlsmzbyL5fFcmHZ0egKTlMZXE1vZdppGdaCV/BhysPFX\r\ndFX0atQqP8PtB5R0LBq/3i0xzcrMpzV6d0T5VT5R7lD4/ZuJ80k/r/uydgDj\r\nXRclRPt8zyh7LOm7aka5Qt2IXzqmpIoMnjsWUaci32SwoEA4KClxkLFtxXfI\r\ngm84p+/quwwrqB9cAQTYexD3s1FiPw1JBfN1sPRW5+Oa6oFoS8m/VOLHihXV\r\n+rcj3oVHf7icUyVTT6TBxZUepevHbnbdaK8=\r\n=7kAU\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"xnimorz","email":"nik.mostovoy@gmail.com"},"directories":{},"maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-maskinput_3.2.1_1675200735255_0.6822245314142006"},"_hasShrinkwrap":false}},"readme":"## react-maskinput\n\nDEMO: https://xnimorz.github.io/masked-input/\n\nMask input with simple API and rich customization.\n\nYou often have to create input for a credit card, phone number, birthday, etc. Each of this usecases requires to input value with some formatting (for example 0000-0000-000-0000 for credit card).\n\nreact mask input could solve this problem without the tears.\n\n### Installation\n\n```noeditor\nnpm install --save react-maskinput\n```\n\nor if you use `yarn`\n\n```noeditor\nyarn add react-maskinput\n```\n\n### Usage\n\nYou can try all of this examples here: https://xnimorz.github.io/masked-input/\n\nThe most simple usage is a credit card (click to the `show code` button):\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput alwaysShowMask maskChar=\"_\" mask=\"0000-0000-0000-0000\" size={20} />;\n```\n\n### Other use cases:\n\nAll this examples you can try here: https://xnimorz.github.io/masked-input/\n\n#### Credit card:\n\nAll props you can change right during the runtime.\nCredit card with automatic switching between visa and american express format (for amex format write 34 or 37):\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('0000-0000-0000-0000');\n\nconst onChange = e => {\n  if (e.target.value.indexOf('34') === 0 || e.target.value.indexOf('37') === 0) {\n    setMask('0000-000000-00000');\n    return;\n  }\n\n  setMask('0000-0000-0000-0000');\n};\n\n<MaskInput onChange={onChange} maskChar=\"_\" mask={mask} alwaysShowMask size={20} />;\n```\n\n#### Date\n\nDate input with custom year (2 or 4 numbers):\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('00.00.0000');\nconst [maskString, setMaskString] = React.useState('DD.MM.YYYY');\nconst onChange = e => {\n  if (parseInt(e.target.value[6], 10) > 2) {\n    setMaskString('DD.MM.YY');\n    setMask('00.00.00');\n  } else {\n    setMaskString('DD.MM.YYYY');\n    setMask('00.00.0000');\n  }\n};\n<MaskInput alwaysShowMask onChange={onChange} maskString={maskString} mask={mask} size={20} />;\n```\n\nYou can use any regular input fields, like placeholder:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [mask, setMask] = React.useState('00.00.0000');\nconst [maskString, setMaskString] = React.useState('DD.MM.YYYY');\nconst onChange = e => {\n  if (parseInt(e.target.value[6], 10) > 2) {\n    setMaskString('DD.MM.YY');\n    setMask('00.00.00');\n  } else {\n    setMaskString('DD.MM.YYYY');\n    setMask('00.00.0000');\n  }\n};\n<MaskInput\n  onChange={onChange}\n  maskString={maskString}\n  mask={mask}\n  size={35}\n  showMask\n  placeholder=\"Enter your birthdate DD.MM.YYYY\"\n/>;\n```\n\n#### Phone:\n\nThe USA phone format:\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput\n  alwaysShowMask\n  mask={'+1 (000) 000 - 0000'}\n  size={20}\n  showMask\n  maskChar=\"_\"\n  placeholder=\"Enter your birthdate DD.MM.YYYY\"\n/>;\n```\n\n### Customization:\n\nYou can use defaultValue to set up componant as uncontrolled input:\n\n```js\nimport MaskInput from 'react-maskinput';\n\n<MaskInput alwaysShowMask maskChar=\"_\" mask=\"0000-{0}-0000\" defaultValue=\"123456789\" />;\n```\n\nIn onChange | onChangeValue callback you can receive on processing value.\nThis example also shows how to create controlled input:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [onChange, setOnChange] = React.useState('');\nconst [onValueChange, setOnValueChange] = React.useState('');\n<div>\n  <p>Value from onChange event is: \"{onChange}\"</p>\n  <p>Value from onChange with replace is: \"{onChange.replace('-', '')}\"</p>\n  <p>maskedValue from onValueChange is: \"{onValueChange.maskedValue}\"</p>\n  <p>Value from onValueChange is: \"{onValueChange.value}\"</p>\n  <MaskInput\n    onChange={e => setOnChange(e.target.value)}\n    onValueChange={setOnValueChange}\n    mask={'0000-0000'}\n    value={onChange}\n    size={20}\n  />\n</div>;\n```\n\nCustom classes:\n\n```js\nimport MaskInput from 'react-maskinput';\n<MaskInput className=\"custom-input\" alwaysShowMask maskString=\"0000-(TEXT)-0000\" mask=\"0000-(aaaa)-0000\" />;\n```\n\nGet HTMLElement from the component:\n\n```js\nimport MaskInput from 'react-maskinput';\nconst [el, setEl] = React.useState(null);\n<div>\n  <p>\n    <code>el is: `{el && el.outerHTML}`</code>\n  </p>\n  <MaskInput\n    getReference={el => setEl(el)} /* Now in el is storing input HtmlElement */\n    alwaysShowMask\n    size={20}\n    maskChar=\"_\"\n    mask=\"0000-0000-0000\"\n  />\n</div>;\n```\n\n### Props\n\nList of specific react-maskinput props:\n\n`mask`: String. Format:\n\n```\n   0 — any number 0-9\n   * — any symbol\n   a — A-Z, a-z\n   q — \"q\" letter, 2 — \"2\" letter etc.\n   \\a — \"a\" letter\n default is undefined\n```\n\n[function] `reformat`: user function, if you want use custom reformat logic. It's userfull for numeric inputs, decimal numbers, emails, etc.\nIf `reformat` defined `mask` will be ignored. Reformat function must receive object with several fields:\n\n```javascript\nfunction reformat({value: string, selection: {start, end}, input: string}) {\n    // realization\n\n    return {\n        [any] value: // value that stored and called in input core functions (such as reformat). Field may have any format,\n        [String] visibleValue: // value that displayed to user in input if showMask is false,\n        [String] maskedValue: // value that  displayed to user in input if showMask is true,\n        [{[integer] start, [integer] end}] selection: {start, end} — // new selection range\n    }\n}\n```\n\nIf `reformat` and `mask` is undefined, input allows to enter any values.\n\nYou can define custom mask by passing `maskFormat`. This prop must be an array,\neach object in array have several fields:\n\n- `str`: matched char for mask\n- `regexp`: validation rule as regexp\n- `type`: special\n\n`maskChar`: Character to cover unfilled editable parts of mask. Default value is ''.\n`maskString`: String to cover unfilled editable parts of mask. Default is undefined. If `maskString` define `maskChar` ignored.\n\n`showMask`: show mask in input. It's possible only if mask have not cyclic. Default value = false\n`alwaysShowMask`: show mask when input inactive\n\n`Callbacks`:\n`onChange`(event). Event is synthetic react-event. If you want access to input value, you may use: `event.target.value`  \n`onValueChange`(event). fires, when value was changed. Provides 2 fields: `value` and `maskedValue`\n`getReference`: Callback to get native input ref\n\n# License\n\nMIT\n\n# Changelog\n\n## 3.0.0\n\nThe code of react-maskinput was rewritten to react hooks. It should be compatible with the prevoius version (2.x), but in some complicated cases behavior could be changed.","maintainers":[{"name":"xnimorz","email":"nik.mostovoy@gmail.com"}],"time":{"modified":"2023-02-09T20:01:13.226Z","created":"2017-05-07T18:45:53.747Z","0.1.0":"2017-05-07T18:45:53.747Z","0.1.1":"2017-05-08T18:56:16.755Z","0.1.2":"2017-05-10T11:19:29.518Z","0.1.3":"2017-06-04T15:49:07.885Z","0.1.4":"2017-06-04T16:05:14.535Z","0.1.5":"2017-06-27T12:17:56.459Z","0.1.6":"2017-07-31T15:11:57.748Z","0.1.7":"2017-08-02T12:35:51.073Z","0.1.8":"2017-10-14T16:24:13.170Z","1.0.0":"2017-12-02T11:26:47.746Z","1.0.1":"2018-07-30T08:54:24.620Z","2.0.0":"2019-10-13T09:59:46.307Z","2.0.1":"2019-10-13T12:25:06.709Z","2.1.0-beta":"2020-09-22T12:09:47.024Z","3.0.0":"2020-09-23T22:07:56.601Z","3.1.0-beta":"2020-09-29T09:06:32.939Z","3.1.0":"2020-09-29T09:20:03.153Z","3.2.0":"2020-10-03T08:35:25.227Z","3.2.1":"2023-01-31T21:32:15.448Z"},"keywords":["react","mask","masked","mask-input","input","react-mask-input","formatted-input","credit-card","credit","phone","date-format","date","react-component"],"author":{"name":"Nik Mostovoy","email":"nik.mostovoy@gmail.com","url":"https://xnim.me"},"license":"MIT","readmeFilename":"README.md","homepage":"https://github.com/xnimorz/masked-input#readme","repository":{"type":"git","url":"git+https://github.com/xnimorz/masked-input.git"},"bugs":{"url":"https://github.com/xnimorz/masked-input/issues"}}