{"_id":"validate-rfc","_rev":"9-019f24000e615fad0de95940f91a825c","name":"validate-rfc","dist-tags":{"latest":"2.0.3"},"versions":{"1.0.0":{"name":"validate-rfc","version":"1.0.0","description":"A simple library to validate mexican RFCs","main":"src/index.js","scripts":{"test":"mocha -w test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","Registro","Federal","de","Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"gitHead":"621b57cf98444716067dfb67ab4d22d52a408440","_id":"validate-rfc@1.0.0","_nodeVersion":"12.13.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-8nX/u4Um/G72diocWkqHChkfkn3Is3EK/776ENFIovTFSoJGe9IiQ7GmAxcw6SGIBShLcPO9sApM7UV0MdW7Sg==","shasum":"29497e9ed46ddd80b2b4bf762cdf8e173619de94","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-1.0.0.tgz","fileCount":12,"unpackedSize":21903,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUZqxCRA9TVsSAnZWagAAP2gP/2HYEu5QwPK4YaK9RpRM\nJnchmLuhhff0Xi/kjRv9tN+kFksWayhVefdGWpkxQ/l60YdhjEqMfId/y+8z\nQSWu5oIhzjgrdLAQdsW64OiwsKJr4TjGmDtSZWA5RGWMYr5iG5Cg7HaGvISD\n8+DMqYdPqkgAJuBT2bhhniiVo65Lh71EEtSu3bGqnjg3clMii+psYtXaJ6Ow\nPeMxU4ehcg0pA112ZmkJLysp/ma4UvcjNYJThix3qDslMqdbC+BRC3VkZ1fw\nWbwtVke5v3vVH0iLBHjkKhY6U21IdBawEzovKKUOwbx15J4zIlvIOCtu6jy9\n/DaMpzQ3rUiaRYXiuyZJpGGocGN454ENZiDsgT2z9/Fuc3I7Tdj78wpBUjzf\nD8Dw90oOws3anIf3LOnHmDnxscePHnYEhJI9NvM2lqMK5hmteO9elJsJ+2rr\nNqRC8jCqbe0UkS1aafPDO42NkKjk1TN+kRkiTg6kCqzkvKw5/rHHpcfe3yMI\n+VK1wmtxLmydgVvn771QTuHfbSs7ydE6iF6Tuam4Mck1/+FK2SI44FN1FX0v\nPRkObSLi476FsZ/EK+7fCOy4viXw6Qs0ckfdjaF1YwYC5qZYpRZbk8weLxFK\nkecG7Yi6/SjHdr9nUwq3rb6cuOP//mQsxxyjN+gieQLQ1I/p6bz/WeDBEkc3\n/NsE\r\n=sony\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUvsMQoCRKco9C3+Oep8Pf9uTmQs+XatIgNRIbUkdZlgIgb0814C6wV+ufmKYyhkpA3xOBssH3N0MIN1rkgeIGay0="}]},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_1.0.0_1582406321201_0.4059454264308908"},"_hasShrinkwrap":false},"1.0.1":{"name":"validate-rfc","version":"1.0.1","description":"A simple library to validate mexican RFCs","main":"src/index.js","scripts":{"test":"mocha -w test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"gitHead":"6aec783fddccf7e2b18c031ced7f0a95ef708e88","_id":"validate-rfc@1.0.1","_nodeVersion":"12.13.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-QCiCSGExUs7kY8mUaLVcT4nlzd8cLo6gBTFYqdKbdvJR9eajz6ve8943zoXCEOskICU4Ne0e7xBGbYATOAmLRA==","shasum":"a975b3549b3dedbc713490e9650dcba1b569af96","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-1.0.1.tgz","fileCount":12,"unpackedSize":21909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUZubCRA9TVsSAnZWagAAiZAQAI261GrnfA47dvw/xZjL\n3gMBHvNnQo3Eq/Yz/Rh+Tnpig1AspIemzxyAeOX6FjzRpV1Wuac907ZdP2+R\nrFzl0ytW89EGdxX0ZdHnAR0dhvWHsFZAMUhNISMpk8UgrldjLZnTT//JJdnA\nzL54+KOaMn+i+r0IouvCFjMifXajs5VmhF/2k41MsQug6t3KUCw1g0Xw36dr\nx+5I6dvZs2xMOPbrt1GZVQqNLzQ37MmHVTjgp0YCn+o91Kek36kLN7sp6ZPV\nVwubiI0Kp8/8to0nPWsaKkfhF4/EMTVtTGGysnuMoB/g0p/4YygZmOKs6I8z\nscoLKVu3D4WkM/SdIxa0W6q4FsSm/UEw2AlhRARy6HU/YxXk4r36ptvXkD6n\nhrlgTmF1tso8HZArj4/7+RNHbAvQITiad8dSXIm267eP+F+AFgjXzTDObBlA\nBlicsxGgkhd1onKPIVHXnX30CApkgE/rFOpVWuJami7kWBc+UksmkIp8jxar\nut1uGj6AkF2CbM93wab1ReddIdSoUOnu0JMCugMkTB+u8RF+iWKvJnL5c5Mq\n4KRY+00ILeBQjDnQrrS6pl9POOk6wgY1ZwUPgneH3h7+TlxJzoLoTm5WYdYC\nULjdRdb2HCMZbUeFyemSrrPPVzWLOjx5dhfuzUOLmdHKVik4UptQj+AWFLWd\nhFK2\r\n=YWCJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAH509MT+7l5HYyeOxgNKgLHXEmmHKRsUpBjL3bPM7dZAiEA5oQEO/8/CmxTRyVjlPA6CpUR0wJLwxUc2aDD30svKeM="}]},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_1.0.1_1582406555374_0.19724111985153714"},"_hasShrinkwrap":false},"1.0.2":{"name":"validate-rfc","version":"1.0.2","description":"A simple library to validate mexican RFCs","main":"src/index.js","scripts":{"build":"npm install","test":"mocha -r test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"gitHead":"ef696e322929f526bf188bf2a1fd35987aa83186","_id":"validate-rfc@1.0.2","_nodeVersion":"12.13.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-oH+hTmxm7fOq7Zfh3Rh6io9atXG7lFamygCQBo6Xi5LOa7UQgvyjXl+Zt3ddUmSWHdzoEcr3wrZdYwjdkU8lKA==","shasum":"5affa7412f5fd4b1bf911e19d7ee29515a647c12","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-1.0.2.tgz","fileCount":13,"unpackedSize":22242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeUx/MCRA9TVsSAnZWagAA/0QP/3Nsj52JC6PdXHU85mia\n3fKeWtfjmsh0ePPhWatyH3pgxb/sIMs8cdkxuv/NrtWtX01DHWKov6nDEhto\nv8paPNjr1qAZl37oTUapNCtuPyhx2IdRANXoa4KAKiOY9B9idgI+kixFw2Fz\njEo7EupYMeuZ4e27q0pv0aDqnTeRcDHnMJjL/ECJQxttR7/UFYt7It0QRFOm\n3eUgU3ynbRTfiT7z0ag91252bQHDAnKtGG2XcLIC+6URlx9e+kwqQqukEGDo\n0Hq/3zt2yd1GfVtV6sdgT29Y8HIX0P86xJ7qnYLHD5q88NtV7Vk38ec5r3Mg\n3rKlV0F3nOjXn3gAn5N06gOrx2HA+rNBx8vHX5zl/yLXIDcxL4D5Fng0lw3N\n6qQMa+qFEvsqWvfKZtUO6xE3lwmw/TJbFZEpfjsFORLxWPW44e+qbJIGXo8h\n/lPipZEWpUhl+KwYH/K3YkO7EVtyvcMoPwWeeQ0kxFx39bNc2XoNvdJm2ElL\nOUmuJHBjrSATwL9jr/kvLOedfUaBmU0RATs1xk7rg+ARvCHagKxnvKSl0R3s\nWWKN+HbbcaokjZacJpPB/ixFxRTBeW3A6TP+THlk1NKFBnM87e95lYvgY47W\nFZ/KbmGJ4bj8r74EquHdn3S3c40yzy+N+XtDKJc6GzqiEv8uzUBB4k5KOv+5\npQJC\r\n=iBQw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP0y4nROLW65abr0nRJG5s4QOlfuyXahz6nYH/FD8NggIhAOdzCRneWKlbzlSH1nM3qlLK4cEPClMfah6uFsG/dLT9"}]},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_1.0.2_1582505931847_0.573438964524291"},"_hasShrinkwrap":false},"1.0.3":{"name":"validate-rfc","version":"1.0.3","description":"A simple library to validate mexican RFCs","main":"src/index.js","scripts":{"test":"mocha -r test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","devDependencies":{"chai":"^4.2.0","mocha":"^7.0.1"},"gitHead":"9429a8c577880536ceaeaa7e46fd2dd91405c2ab","_id":"validate-rfc@1.0.3","_nodeVersion":"12.13.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-eRViX56Ux1PDUHzv32vOFxlSUd5jtvK0kaPPNdVoyK3YEoegXfBcHkHz6VLx/BYu2b09Pf3t4qZhwmxPeib9+A==","shasum":"1da2675a6f8f1141e6dd6fe915fde3d60dea9ca6","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-1.0.3.tgz","fileCount":13,"unpackedSize":23179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeVfxRCRA9TVsSAnZWagAAjfsP/1e0hoPgukS3XoBas9xU\nW0gxEPwhxUhLdI/+IqEgajdNdI2pVzop0F174NwkAHJWfLJyELxH2sdM6yQk\nZDI9ic+Br6DKMX9PgzxhKfqqIbAR+C3vNNYhteQOhgxmz/7NdvpjMMDUmfGP\nbFZ/oTbRSF86cX7Xm/vJfReE8B1umyYXfevLHNt8xuNdqlwPTPJrziOvtX6m\nbDzpBp/TmBknYRE4+L+ltxQxJr4gMdNbWK6uCi3+SlLL8kS160ME8UpLNZhE\n5JODA8cGyga4xyC7I4xWY9/OFOIhmTP7zZ0A6wSJ/eIRk80YUGWUnxdNkX9t\nSTzwH7lsenclhpoE3eIHxcIftHoTrH0X11F+ezYTuJ7h2Eq2Imqo8+aOEp9O\nzmJjGIQWmfAZQQ+tZrWYr+A6G6lGafqo4RP4qRFxacHiUmiARMHE33+SINCy\nWXrGioi5ZKjBRNjk/pikjrCMduXUmuljFGHrO68vDWS9wo9vDnWkzSY4+K8M\nNeQuG6ha9q3vrqRXdJ182TT+xVB/WEnUmf5ZgJmRp1sjVIPoZHP/c3D7rG1W\nttiJ3gz6uTHnZz8UMYuR/k07u1XepcOj6JJd2b6rfp1wrNcoE/W2o6PU2v5h\nSW3hsbkY4KD8Ahv6/jNXKHJhTlJ3xQDynRnDgdli0HRByVsb2G8GSM3mh0Kv\njm2y\r\n=+EYy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU9tnVLPC2NHj9kky+DwZn64iyhZtYgJnX5SCQMWjEdAIhAPEwBrzEygEg9QKKRHi1uch9kLd0jhCHXj5yYnksv4Ol"}]},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_1.0.3_1582693456572_0.32669456431875754"},"_hasShrinkwrap":false},"1.0.4":{"name":"validate-rfc","version":"1.0.4","description":"A simple library to validate mexican RFCs","main":"src/index.js","scripts":{"test":"mocha -r test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","devDependencies":{"chai":"^4.3.0","mocha":"^8.2.1"},"dependencies":{},"gitHead":"97ebdbc46af27c5f4c048fcd7d113dfd2bd5471a","_id":"validate-rfc@1.0.4","_nodeVersion":"12.18.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-OIrW2oawhWAuhzM47uiTv9LpS+ZzfcTLSGcINZmyffLzIeUjIxOLDKFpAmIRTCxSjWeuy6VKattf2ELkO/5HPg==","shasum":"3a6bd95dc1bc2d53d81a359716b8054d2aaf489d","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-1.0.4.tgz","fileCount":14,"unpackedSize":23630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgIEp1CRA9TVsSAnZWagAAn7gP/3PpG/fLVRZ8tVAe/xLA\nBhlGQscGHf1NFqxkfY0ANnnsyRhkQOk5NxhAra/pco8TgmdBwoECVa7NPqFh\nS4rrA4KIgc84qZYFhlJ+k9ft39rzaQEyKCemIKVghN2VY1YieZlviC+nb8ps\ngeTJVzEyxFE6IeHGYHYEzmu4ZhCmjX02gwjEtm/Lca0zwxzbJkzPV0U4AIMz\nggABnrLbYvXDlWMNY3kghLfW++drwupG2ngGJRDfpZlqUUFNsVcqwZNKshui\n13y9dv2Y0lMGO2ObC2BfI8nUNDWLcDpqCw87CbwPmnpa38mo2qogMD+2OgqO\nvTr5c8/d0VIk76vcSH7KcnJhpfpHm8lmjZaGOKudR5MQKo8FQxX3/n1m7UQo\npBBTkHBIleSAMKCT1w7km+q75ZFwQINNq1TQ1RZys+lYJ5YmPc4N+OYtgmww\nepc71dAAwajc/sGgu9ovednO/k9Q2pWfsLC2ZhXIbCfiCzyJkwXH483i+YU2\nRWvZP+qvt27nbjsjVO6A6ktwHfIOCf1u/PKZ3u/uOaga9liyBeQewTQAXrX/\nRfhQWhAagCPgV90vzvypYD5Wuz1Zm4ytNAh2VDmK7axwCZA7hHAXfozxsX4e\nGc/gxUxlpgjO9gZmNVZ0S72tZKKgVBhYz1+8vipjuiA8CChqDJHAio9kToP7\nsT00\r\n=7lqC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxlAcsi/W6ZPZArlGefoXOCJHPTQFuoaQdYERBbMbKXAIhAMvQ8zDYllhTcRP445yJBMyN4yCdvXaepgXngLULouCb"}]},"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_1.0.4_1612728949149_0.49709112434680325"},"_hasShrinkwrap":false},"2.0.0":{"name":"validate-rfc","version":"2.0.0","description":"A simple library to validate mexican RFCs","main":"dist/index.js","scripts":{"build":"./node_modules/rollup/dist/bin/rollup -c","test":"mocha -r test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","mocha":{"ui":"bdd","timeout":1000,"fullTrace":true,"recursive":true,"exit":true,"bail":true},"devDependencies":{"@babel/cli":"^7.14.5","@babel/core":"^7.14.5","@babel/preset-env":"^7.14.5","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^19.0.0","@rollup/plugin-json":"^4.1.0","chai":"^4.3.4","mocha":"^9.0.0","rollup":"^2.51.2","rollup-plugin-uglify":"^6.0.4"},"dependencies":{},"gitHead":"dd6f03959153d81ca24a7605bd82781021d80874","_id":"validate-rfc@2.0.0","_nodeVersion":"12.18.1","_npmVersion":"6.14.9","dist":{"integrity":"sha512-Htb4Oinob8xp+s+TVxH+qWk5hzXN4ZJ1grIFbTFIvMutoLMCfVEldP6INULawX1G4RQUGqjWzYUFNMTRugmmvQ==","shasum":"cc97ab7a5e3825f4d575614b89e146cb47e0fcd7","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-2.0.0.tgz","fileCount":20,"unpackedSize":36707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxP6QCRA9TVsSAnZWagAAIQcP/A8USZUrpEBSKiDWJw8+\nTj0Q4IKtp7h9uGEz0NFBvW/dztl40kqDzFfwOTeoLIOFG+pwVTDGK/EdFQO+\nV57fCeYlqTc4gu/vnU0uBsdFq34H6H+98/UiZjM9TMTuqw30b8FjSZDT+U2B\nTYeVrC1J+RrWQjYe0+bY0veAxoqYvpxu8QyMB2feMFO/vZfXGQ2Z1v3zo7lx\nD55EiGlXnC1QmigV/IFVCjp9CFWIH2KC9C3TVofF3S7Bv/NJvam/uUBbjeH4\nX4KVJA6eAwdNIbvvrIfLqKekVQ/k4j+ONjuahaUpqVeKf5tMccXdCqvlTWD5\np5Kj068OSXV09XS7qEYHYCy6M7WzXpCsPxA5Vt2QUJiT2VuuVLHTATs2R9WW\n8Ds8NCO8QF0f29vDFm95lXx4X/w86tCAxXWpjzDzBNwwoPOnztjULOhW/c3x\nZoee/ye/q9w71s9CNdD+iZ1PIkhq3widinUtAsEISKT+gQG+l1sVRI6NtH4t\niLGE50OF3raoiej7mJFkCrzH++gG/L/UfhHvPC/HlnspreCJHAQCncMBvKZC\nZJ6P2zryPvg+lZ47O7xzEOI9HESyo7kCoxoJdAp0gxaRjffL+YN9pXsgbOdk\nzm8dgHVX6VwBZtyeySANK6QwW4NwoueQQyUi0FrIFnMRdlRYN5X0kZTeUf/j\ntUy9\r\n=eM4W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGI0WYoQklQKc5cvfnbg9pwPEmA8Q+QcTSRzXhgnABikAiEAhZT3qJW/phu4ANAo2PLN+Pqf1obtcvwkLNPfUYHqxCI="}]},"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_2.0.0_1623522960108_0.8685741212063693"},"_hasShrinkwrap":false},"2.0.1":{"name":"validate-rfc","version":"2.0.1","description":"A simple library to validate mexican RFCs","main":"dist/index.js","scripts":{"build":"./node_modules/rollup/dist/bin/rollup -c","test":"mocha -r test/index.js test/unit/"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","mocha":{"ui":"bdd","timeout":1000,"fullTrace":true,"recursive":true,"exit":true,"bail":true},"devDependencies":{"@babel/cli":"^7.14.8","@babel/core":"^7.15.0","@babel/preset-env":"^7.15.0","@rollup/plugin-babel":"^5.3.0","@rollup/plugin-commonjs":"^20.0.0","@rollup/plugin-json":"^4.1.0","chai":"^4.3.4","mocha":"^9.1.0","rollup":"^2.56.3","rollup-plugin-terser":"^7.0.2"},"dependencies":{},"gitHead":"fd683f53b8f11781c19ec328b3ec3e13fb2445a3","_id":"validate-rfc@2.0.1","_nodeVersion":"14.17.5","_npmVersion":"6.14.14","dist":{"integrity":"sha512-nm1q1Kq9Ej99o7AUmgGAFTyQVOpC1e051J/OKkOQFuFR8JTVvmcdVshKuypK6SW9IZlCYd3g0JODUFJKT+Dd8w==","shasum":"eea049b7c0f851012c457fdedb175a6140ab87c2","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-2.0.1.tgz","fileCount":20,"unpackedSize":37299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhJDJ7CRA9TVsSAnZWagAAeSUP/0TDoBK1ZtAkzJgCZh1Z\nsMbecj0GFkS/GuoJ+l2FvMu05XlpT/tBFjRWyIoUdYfh5/DvWcouDK8rZR3S\nD/lOXp2MrHooQzyQis2ag0LONV1ujEy9eNW9PWEUfuqzZ27FlltPTIxzw8H6\nIa/EnJ/RtxoDCj+qfn+FXqcL+L8GmIhV6aeXau2agEZc7RswuIU7QjmPRDGo\nfuTjflsr/3wH8B6e2PlZrZ2USIJA6r5KDjugIrDxM+J6fxAhQowKkJiYGuEx\nkk2TQjbS5oYOHCEmipHXUZ9fdwfkKjUj/dkUM6Dt0ZhGciUi0OPaQG4mHcOh\nH3kc0oMM41oGWqToH5QcTJeWleRvMlDN/m2xo6HYSbV3VxIVvB3KN4+x56Qq\nr89tNnkvBgjLj6zMQEgU7W8PZh36jCfsmE84czAKo5ou+7luEhajIQY53sZp\nDYcbDO6gZ06LFQVeFcr2tuwBb1hxgq5LhhJ4h+o4nX77beOB9ocvhFZCZSdr\nH2iJnN8ctt7rPb/o0KsAqmUn4LR0yutMSK+uKfsxLhdGtnHH7bPvz29Vlmx2\nKz9Pui0MlgeWRmUwpatlzlXRt2F7wl4ozMhqTQVdXqhxjBUYgiS6LcgQP7oO\n+Tkba79dAo2Qu6WpitZtiZRfVaCGmC8TuNjYMczlbwASAA5D1iZfqNtYYPSq\nw+VY\r\n=AbHi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDb4FKS8Klb6b4DUOlShusP54zi+C+BLIa2DLda1FDmpAiBI17hClLNy4TvnjrAnISoDlcook0F3CHm+Eeyw6DZDLg=="}]},"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_2.0.1_1629762171638_0.45531636873100667"},"_hasShrinkwrap":false},"2.0.2":{"name":"validate-rfc","version":"2.0.2","description":"A simple library to validate Mexican RFCs (Tax IDs)","main":"dist/index.js","scripts":{"build":"./node_modules/rollup/dist/bin/rollup -c","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","jest":{"testEnvironment":"node"},"devDependencies":{"@babel/cli":"^7.18.9","@babel/core":"^7.18.9","@babel/preset-env":"^7.18.9","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.1","@rollup/plugin-json":"^4.1.0","eslint":"^8.2.0","eslint-config-airbnb-base":"15.0.0","eslint-plugin-import":"^2.25.2","jest":"^28.1.3","rollup":"^2.77.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{},"gitHead":"519f8dcc0749a8dabb72946f7b880e0e221f8bef","_id":"validate-rfc@2.0.2","_nodeVersion":"16.14.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-x4reG7PFqs9C4EI8O1UJNKSLh6dTlIBDWnSwY16zoGMzik3DfqIH0ThFMKBkpkFwar7/11Fj/2ItXEFxCKo/IA==","shasum":"c2ebcdcc9009ff09a339ffbf3732e5d10d2f2357","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-2.0.2.tgz","fileCount":19,"unpackedSize":28241,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEHLtdI7AbxJqOUEji7kM5QCFooasi6RsQNjCypesSetAiEA7hQQPpYpi9Ocujt14vlXtxyFWtCji1GgEULkLF0BvJY="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi3VE9ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrd3Q/+N81s9PSoLAXi4ObWWa4WAPzZ9cych1NtmJV+OHm9t5hDucBx\r\nsfTuIlUCBmTuI52vZGEDWunAJbU9NtrXaPSwKVu3PCxUi589K/KUbIV3GM73\r\n1UCwum7AnTnFU3IICX9E7iCw/2pl/BwcuaEetKlWijvN1cx3ulAFkIyv0X2x\r\nx3G+I82WNweRKyxoeWnf1LQRE6Sw4Tx2j7+3sb0OA2Dt6dciOPLA35gZq4MX\r\nGVeL6D9vyV1maQlueNb2zU/ni7xs3pgLKq1nu3Ja+SoeR7eTCOhybxqd2PaS\r\ndlEZQUZlvc9NBOov5OzJp2xEUEnGH77GWRzycZlljby6hrZQQL1WK8xWl3QI\r\nDQZb7KIAO+wu+ns82+djhQRhMDf8ayVlQgPyyn2gDJvS4gK3PB6BJpLYSIJ6\r\nvu/AxraRUfv3A8ci9UVp+S4PjqYFFrHEP0JMyMo37pqhBgxXI5BC7ArGJ/nz\r\nCT+I11TmNf+SG35y7pfMM/0wOEFb/yleW67anAcDnUNI2XSddZffq/EIex+3\r\nkeB7Gpl0QS/NjRIWw9RJYWEC5yoIj7YdB2MPEGpiiQvPw+MiYCoTIuufiYtB\r\nhq/aDIZDd1Ninul1T69iprHog3HQ8BKhm5yZ1ODgu9KVfnICqIh6bfgzzrqb\r\nqnnEd5j0ChI5BNYXLbGIh1llPV5xDyQrfJA=\r\n=La1v\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_2.0.2_1658671421080_0.7954021457543956"},"_hasShrinkwrap":false},"2.0.3":{"name":"validate-rfc","version":"2.0.3","description":"A simple library to validate Mexican RFCs (Tax IDs)","main":"dist/index.js","types":"src/index.d.ts","scripts":{"build":"./node_modules/rollup/dist/bin/rollup -c","test":"jest"},"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"author":{"name":"Manuel de la Torre"},"license":"MIT","bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"homepage":"https://github.com/manuelmhtr/validate-rfc#readme","jest":{"testEnvironment":"node"},"devDependencies":{"@babel/cli":"^7.18.9","@babel/core":"^7.18.9","@babel/preset-env":"^7.18.9","@rollup/plugin-babel":"^5.3.1","@rollup/plugin-commonjs":"^22.0.1","@rollup/plugin-json":"^4.1.0","eslint":"^8.2.0","eslint-config-airbnb-base":"15.0.0","eslint-plugin-import":"^2.25.2","jest":"^28.1.3","rollup":"^2.77.0","rollup-plugin-terser":"^7.0.2"},"dependencies":{},"gitHead":"4c654b7ff9e169c1e859ef5bf3505e9583f6a866","_id":"validate-rfc@2.0.3","_nodeVersion":"18.13.0","_npmVersion":"8.19.3","dist":{"integrity":"sha512-WS7CyAz/sfzx6DryOPZvprqz7uxHcQh1yhzDunNX1vidSmprfN7Og66VRpCyU21U82Vzkof5/bOIOKan3dEXLA==","shasum":"fc91a02ab0d7f513a25ed4f53d9d6a69a38ad04f","tarball":"https://registry.npmjs.org/validate-rfc/-/validate-rfc-2.0.3.tgz","fileCount":19,"unpackedSize":28494,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqAZXn5WPiyxwA+ehgkXQDXlzywbPlrUpxzQiKXbUPjQIgWrGoU6DH5jlu9HXG4AFW30esX/pJK/1T3TLj8UagRmU="}]},"_npmUser":{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"},"directories":{},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/validate-rfc_2.0.3_1690049848616_0.5652648911141303"},"_hasShrinkwrap":false}},"time":{"created":"2020-02-22T21:18:41.201Z","1.0.0":"2020-02-22T21:18:41.318Z","modified":"2023-07-22T18:17:29.302Z","1.0.1":"2020-02-22T21:22:35.469Z","1.0.2":"2020-02-24T00:58:51.971Z","1.0.3":"2020-02-26T05:04:16.682Z","1.0.4":"2021-02-07T20:15:49.298Z","2.0.0":"2021-06-12T18:36:00.260Z","2.0.1":"2021-08-23T23:42:51.764Z","2.0.2":"2022-07-24T14:03:41.258Z","2.0.3":"2023-07-22T18:17:29.137Z"},"maintainers":[{"name":"manuelmhtr","email":"manuelmhtr@gmail.com"}],"description":"A simple library to validate Mexican RFCs (Tax IDs)","homepage":"https://github.com/manuelmhtr/validate-rfc#readme","keywords":["RFC","validator","validar","validador","verificar","verify","Registro Federal de Contribuyentes","Mexico","Mexican"],"repository":{"type":"git","url":"git+https://github.com/manuelmhtr/validate-rfc.git"},"author":{"name":"Manuel de la Torre"},"bugs":{"url":"https://github.com/manuelmhtr/validate-rfc/issues"},"license":"MIT","readme":"# Validate RFC\n\n![](https://img.shields.io/badge/build-passing-green?style=flat)\n![](https://img.shields.io/npm/dm/validate-rfc)\n![](https://img.shields.io/github/license/manuelmhtr/validate-rfc?color=blue)\n\nA simple and lightweight library to validate [Mexican RFCs](https://es.wikipedia.org/wiki/Registro_Federal_de_Contribuyentes) (Tax ID).\n\n\n## Install\n\n### NodeJS\n\nUse NPM:\n\n```shell\n$ npm install --save validate-rfc\n```\n\nOr YARN:\n\n```shell\n$ yarn add validate-rfc\n```\n\n### Browser\n\nAdd the script to your project:\n\n```html\n<!-- Latest version -->\n<script src=\"https://cdn.jsdelivr.net/gh/manuelmhtr/validate-rfc@latest/dist/index.js\" type=\"text/javascript\"></script>\n\n<!-- Or specify a version -->\n<script src=\"https://cdn.jsdelivr.net/gh/manuelmhtr/validate-rfc@v2.0.2/dist/index.js\" type=\"text/javascript\"></script>\n\n<!-- This will export a global function \"validateRfc\": -->\n<script type=\"text/javascript\">\n  var data = validateRfc('mhtr93041179a');\n  console.log(data);\n</script>\n```\n\n\n## API\n\nThe library only exposes a single function (`.validateRfc`).\n\n\n### .validateRfc(rfc)\n\n\nChecks whether a string is a valid RFC and returns validation details.\n\n\n**Parameters**\n\n| Parameter | Type | Description |\n| --------- | ---- | ----------- |\n|`rfc`|String|The RFC to be validated.|\n|`options`|Object| Settings (Optional).|\n|`options.omitVerificationDigit`|Boolean|When `true`, the [_Check digit_](https://en.wikipedia.org/wiki/Check_digit) is omitted from the validation (Default: `false`). This option is useful since there are some RFCs with an invalid _Check digit_ that are recognized as valid by the Mexican authorities (See [Known issues](#known-issues)).|\n\n**Response**\n\nIt returns a plain object with the values:\n\n| Parameter | Type | Description |\n| --------- | ---- | ----------- |\n|`isValid`|Boolean|Indicates if the string is a valid RFC.|\n|`rfc`|String|The formatted RFC (uppercase, with no white spaces or symbols). Returns `null` when input is an invalid RFC.|\n|`type`|String|The classification of the provided RFC. Values can be `person` for a legal person, `company` for companies, `generic` for the generic RFC \"XAXX010101000\" ir `foreign` for the RFC \"XEXX010101000\" which is used by foreign people. Returns `null` when input is an invalid RFC.|\n|`errors`|Array[String]|In case the RFC is invalid, the reasons why the RFC is invalid will be listed here.|\n\nPossible `errors` values and they description are:\n\n| Error | Descripción |\n| ----- | ----------- |\n|`INVALID_FORMAT`|The format is invalid, that means, the string does not meet with the required length or expected structure. Eg: `XYZ` because clearly is not an RFC. |\n|`INVALID_DATE`|The string may have the correct format, but digits generate an invalid date. Eg: `MHTR815511A70` because it refers to month `55`.|\n|`INVALID_VERIFICATION_DIGIT`|The string has a valid format, but the last character (check digit) is invalid. Eg: `MHTR810511A79` ends with `9` but it is expected to end with `2`.|\n|`FORBIDDEN_WORD`|The string contains one of the [inconvenient words](https://solucionfactible.com/sfic/resources/files/palabrasInconvenientes-rfc.pdf) that cannot be included in an RFC. Eg: `FETO930411792` the initials make the word `FETO` (fetus, LOL).|\n\n\n**Example**\n\n```js\nconst validateRfc = require('validate-rfc');\n\nconst response = validateRfc('mhtr93041179a');\nconsole.log(response);\n\n/*\nPrints:\n\n{\n  isValid: true,\n  rfc: 'MHTR93041179A',\n  type: 'person'\n}\n\n*/\n\nconst response = validateRfc('This is not an RFC');\nconsole.log(response);\n\n/*\nPrints:\n\n{\n  isValid: false,\n  rfc: null,\n  type: null,\n  errors: ['INVALID_FORMAT']\n}\n\n*/\n```\n\n\n## Tests\n\nRun the test with the command:\n\n```shell\n$ yarn test\n```\n\n## Known issues\n\n### Check digit mismatches\n\nSome RFCs registered by the SAT (Mexican taxing bureau) does not pass the _Check digit_ validation. For instance, `LME060822IH5` is a valid RFC and able to be invoices according the [SAT official validator](https://agsc.siat.sat.gob.mx/PTSC/ValidaRFC/index.jsf), however its _Check digit_ should be `3` rather than `5`. Therefore in those cases, this library returns `isValid` as `false` and the error `INVALID_VERIFICATION_DIGIT`.\n\nSolutions:\n1. If you find one of these cases, add it to the [list of valid RFCs](/src/validRfcs.json). **Upper-cased and sorted alphabetically**. By adding them to the list you are supporting the documentation of such cases and preventing from returning an error the next time.\n2. Use the option `omitVerificationDigit` to ignore the _Check digit_ validation. It has the advantage of being a faster solution and covers all the cases, but many invalid RFCs will pass the validation.\n\nReferences:\n- [Issue #10](https://github.com/manuelmhtr/validate-rfc/issues/10)\n- https://es.stackoverflow.com/questions/140420/validacion-de-rfc-con-errores\n\n## Used by\n\nUsed by tens of successful teams:\n\n| <a href=\"https://www.zenfi.mx/\"><img src=\"https://avatars.githubusercontent.com/u/68744962?s=200&v=4\" width=\"64\"></a><br/>Zenfi | <a href=\"https://www.yotepresto.com/\"><img src=\"https://avatars.githubusercontent.com/u/31322412?s=200&v=4\" width=\"64\"></a><br/>Yotepresto | <a href=\"https://www.deacero.com/\"><img src=\"https://avatars.githubusercontent.com/u/64057746?s=200&v=4\" width=\"64\"></a><br/>DeAcero |\n| :--: | :--: | :--: |\n\n\n## Related\n\n* [validate-curp](https://github.com/manuelmhtr/validate-curp)\n* You need to check if an RFC is registered in SAT or is blacklisted? Try with [Verifier](https://rapidapi.com/manuelmhtr/api/verifier).\n\n## Licencia\n\nMIT\n","readmeFilename":"README.md"}