{"_id":"br-validations","_rev":"14-15ad3ca613de94b7ff997330ae3ba6ce","name":"br-validations","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","dist-tags":{"latest":"0.3.1","0.2.1":"0.2.3"},"versions":{"0.1.0":{"name":"br-validations","version":"0.1.0","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","id":"/br-validations","main":"releases/br-validations.js","repository":{"type":"git","url":"https://github.com/the-darc/br-validations.git"},"homepage":"http://github.com/the-darc/br-validations","bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"scripts":{"test":"gulp test"},"keywords":["validator","validation","cpf","cnpj","inscrição estadual"],"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"gulp":"^3.7.0","gulp-concat":"^2.3.4","gulp-footer":"^1.0.5","gulp-header":"^1.0.5","gulp-jshint":"^1.6.1","gulp-load-plugins":"^0.5.3","gulp-mocha":"^1.0.0","gulp-uglify":"^0.3.2","jshint-stylish":"^0.2.0","should":"^4.0.1"},"_id":"br-validations@0.1.0","_shasum":"5d16ef1ba48e4ab284f593f7b00d6ba512f616e1","_from":"./","_npmVersion":"1.4.9","_npmUser":{"name":"the-darc","email":"darc.tec@gmail.com"},"maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}],"dist":{"shasum":"5d16ef1ba48e4ab284f593f7b00d6ba512f616e1","tarball":"https://registry.npmjs.org/br-validations/-/br-validations-0.1.0.tgz","integrity":"sha512-1o9mKDMxzWk8J5k7nDQ51O5SGY9qjKFjv7Z5tEr8+ZtgRjxjK9fWpl/0L6UAve//WmiRB1gtOFdYzCSHCJ7E7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDtFfRUxCeqC0GFh5wo7E6TopBmVXG+4dYMDY0fZTSMRAIhAKcDkygn4wakaKHYvOHWfidl/1qXUqQzfdTS4Uu54DSn"}]}},"0.2.0":{"name":"br-validations","version":"0.2.0","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","id":"/br-validations","main":"releases/br-validations.js","repository":{"type":"git","url":"https://github.com/the-darc/br-validations.git"},"homepage":"http://github.com/the-darc/br-validations","bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"scripts":{"test":"gulp test"},"keywords":["validator","validation","cpf","cnpj","inscrição estadual"],"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"gulp":"^3.7.0","gulp-concat":"^2.3.4","gulp-footer":"^1.0.5","gulp-header":"^1.0.5","gulp-jshint":"^1.6.1","gulp-load-plugins":"^0.5.3","gulp-mocha":"^1.0.0","gulp-uglify":"^0.3.2","jshint-stylish":"^0.2.0","should":"^4.0.1"},"_id":"br-validations@0.2.0","_shasum":"d559c824be25f2e5a87cb1c5b2441f44d652f07a","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"the-darc","email":"darc.tec@gmail.com"},"maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}],"dist":{"shasum":"d559c824be25f2e5a87cb1c5b2441f44d652f07a","tarball":"https://registry.npmjs.org/br-validations/-/br-validations-0.2.0.tgz","integrity":"sha512-Io3nDimMViiINTIRFhCD5QvsUiAHF3eg8Dp/EfMv9CGiwXkNUGEEJHzNOQYbH+XMjijhzW+1AUF8XCnCB3xGiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDV9Xj7V7RG39t8ZcbBzL9y8NzTZqAha2YbNjvj/g6jgAiEA78hIkW3RV6zszllFQ7jlBVWXbW/aI2CPC/BcJcO4wY0="}]}},"0.2.3":{"name":"br-validations","version":"0.2.3","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","id":"/br-validations","main":"releases/br-validations.js","repository":{"type":"git","url":"https://github.com/the-darc/br-validations.git"},"homepage":"http://github.com/the-darc/br-validations","bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"scripts":{"test":"gulp test"},"keywords":["validator","validation","cpf","cnpj","inscrição estadual"],"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"gulp":"^3.7.0","gulp-concat":"^2.3.4","gulp-footer":"^1.0.5","gulp-header":"^1.0.5","gulp-jshint":"^1.6.1","gulp-load-plugins":"^0.5.3","gulp-mocha":"^1.0.0","gulp-uglify":"^0.3.2","jshint-stylish":"^0.2.0","should":"^4.0.1"},"_id":"br-validations@0.2.3","_shasum":"d66dfb5ccba212e86b3d7887c1c109bcfe7390bd","_from":".","_npmVersion":"1.4.9","_npmUser":{"name":"the-darc","email":"darc.tec@gmail.com"},"maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}],"dist":{"shasum":"d66dfb5ccba212e86b3d7887c1c109bcfe7390bd","tarball":"https://registry.npmjs.org/br-validations/-/br-validations-0.2.3.tgz","integrity":"sha512-YaNcYJnDLW24XhglcElZguYt0MDkJpxiDaSr1vdgUC9ikoQmZxtSRU3ijcnEAxZPcxAr+AFWwqAd/bMMFPgxRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRuQ8Izb0DL207shAHoy3laM/madT0GY4MBonmMN5OpwIhALnvrf7Nvu3xh+/3mj5ClNpQGw4/fh39CfFY+fHgJMoN"}]}},"0.2.4":{"name":"br-validations","version":"0.2.4","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","id":"/br-validations","main":"releases/br-validations.js","repository":{"type":"git","url":"https://github.com/the-darc/br-validations.git"},"homepage":"http://github.com/the-darc/br-validations","bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"scripts":{"test":"gulp test"},"keywords":["validator","validation","cpf","cnpj","inscrição estadual"],"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"gulp":"^3.7.0","gulp-concat":"^2.3.4","gulp-footer":"^1.0.5","gulp-header":"^1.0.5","gulp-jshint":"^1.6.1","gulp-load-plugins":"^0.5.3","gulp-mocha":"^1.0.0","gulp-uglify":"^0.3.2","jshint-stylish":"^0.2.0","should":"^4.0.1"},"gitHead":"0c67076fc432c301f631953a9f7bca540bfbc9bc","_id":"br-validations@0.2.4","_shasum":"1e86f21791dab1e7adebe462423a807f95f54f43","_from":".","_npmVersion":"2.7.4","_nodeVersion":"0.10.28","_npmUser":{"name":"the-darc","email":"darc.tec@gmail.com"},"maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}],"dist":{"shasum":"1e86f21791dab1e7adebe462423a807f95f54f43","tarball":"https://registry.npmjs.org/br-validations/-/br-validations-0.2.4.tgz","integrity":"sha512-WzF7zyH+b9CMKBBsoWVMi71Xwv2xTGgVSmKSW33wxw/8SMOkGA+sSBqsI7e3LGGEuVKKPvTn/Kjz5rch/dpiug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCI3XUlvLdUrcvGxRaL2okyUyB52grbD1xYx57L7dUoxAIgYMcpEvEYBwBRwnvWUCKeJB/eT1UYV8sufyTyfrRlO88="}]}},"0.3.0":{"name":"br-validations","version":"0.3.0","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","id":"/br-validations","main":"releases/br-validations.js","repository":{"type":"git","url":"git+https://github.com/the-darc/br-validations.git"},"homepage":"http://github.com/the-darc/br-validations","bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"scripts":{"test":"gulp test-coverage","postinstall":"gulp build"},"keywords":["validator","validation","cpf","cnpj","inscrição estadual","pis pasep"],"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"conventional-changelog":"0.0.17","gulp":"^3.9.0","gulp-concat":"^2.3.4","gulp-coveralls":"^0.1.4","gulp-footer":"^1.0.5","gulp-header":"^1.0.5","gulp-istanbul":"^0.10.0","gulp-jshint":"^1.6.1","gulp-load-plugins":"^0.5.3","gulp-mocha":"^1.0.0","gulp-uglify":"^0.3.2","jshint-stylish":"^0.2.0","should":"^4.0.1"},"gitHead":"a20628989fffb294d719323dc2e116b5b34555cb","_id":"br-validations@0.3.0","_shasum":"8a7ad6e5623a76997180faf36b5727ce672d936c","_from":".","_npmVersion":"2.12.1","_nodeVersion":"2.3.4","_npmUser":{"name":"the-darc","email":"darc.tec@gmail.com"},"dist":{"shasum":"8a7ad6e5623a76997180faf36b5727ce672d936c","tarball":"https://registry.npmjs.org/br-validations/-/br-validations-0.3.0.tgz","integrity":"sha512-GCJMsTMJIc9styAy5pL6+/s6LGrS/eTI21CO1z8GDIQa+mgwRFeChPmZ/CqEeWfTrII2RsvdZT747buwegFHhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwyhQomUSzC7GbhdcDKxhYOgkVw661MwrFKGrpsPDsxgIgD2QTQPSStrZtGuaMGhSviqJRZZPQ6HkWdhRfuDLOAtk="}]},"maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}]},"0.3.1":{"name":"br-validations","version":"0.3.1","description":"A library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others","id":"/br-validations","main":"releases/br-validations.js","repository":{"type":"git","url":"git+https://github.com/the-darc/br-validations.git"},"homepage":"http://github.com/the-darc/br-validations","bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"scripts":{"test":"gulp test-coverage","release":"conventional-changelog -p angular -i CHANGELOG.md -s"},"keywords":["validator","validation","cpf","cnpj","inscrição estadual","pis pasep"],"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"license":"MIT","dependencies":{},"devDependencies":{"conventional-changelog":"1.1.0","gulp":"^3.9.1","gulp-concat":"^2.6.0","gulp-coveralls":"^0.1.4","gulp-footer":"^1.0.5","gulp-header":"^1.8.8","gulp-istanbul":"^1.1.1","gulp-jshint":"^2.0.2","gulp-load-plugins":"^1.4.0","gulp-mocha":"^3.0.1","gulp-uglify":"^2.0.0","jshint":"^2.9.4","jshint-stylish":"^2.2.1","should":"^11.1.1"},"gitHead":"cf12b07f88901f6d0d89257d719f1b0c38c7a71f","_id":"br-validations@0.3.1","_shasum":"4e45a4e074adaeea2b7e088bc0e37ade9b76364d","_from":".","_npmVersion":"2.15.3","_nodeVersion":"4.3.1","_npmUser":{"name":"the-darc","email":"darc.tec@gmail.com"},"dist":{"shasum":"4e45a4e074adaeea2b7e088bc0e37ade9b76364d","tarball":"https://registry.npmjs.org/br-validations/-/br-validations-0.3.1.tgz","integrity":"sha512-8ncHlnsMwz15kqAyc2mN9b6yb/WXhlwq3itKJK9L1tdIPCzqmYReBjmmvdAmGQAo3/A7IWHUFe0O/9c/hfNpIw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAWTjTq8/fROssXKyJsboR5h40M7SY6ZqSw6bGfa+TgEAiBMwpcK6gLNqj3hASXmcIJLQBDDoWu3EGYyJWNu4OvYjA=="}]},"maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/br-validations-0.3.1.tgz_1478775645761_0.7504136832430959"}}},"readme":"br-validations\n==============\n[![npm version](https://img.shields.io/npm/v/br-validations.svg)](https://www.npmjs.com/package/br-validations) \n[![Bower version](https://img.shields.io/bower/v/br-validations.svg)](https://bower.io/search/?q=br-validations) \n[![Build Status](https://travis-ci.org/the-darc/br-validations.svg)](https://travis-ci.org/the-darc/br-validations)\n[![Coverage Status](https://coveralls.io/repos/the-darc/br-validations/badge.svg)](https://coveralls.io/r/the-darc/br-validations)\n\n[![NPM](https://nodei.co/npm/br-validations.png?downloads=true&stars=true)](https://nodei.co/npm/br-validations/)\n\n\nA library of validations applicable to several Brazilian data like I.E., CNPJ, CPF and others.\n\n## Instalation ##\n\n### With npm\n\n```bash\n    npm install --save br-validations\n```\n\n### With bower\n\n```bash\n    bower install --save br-validations\n```\n\n### Runing tests ###\n\n```bash\n\tgulp test\n```\n\n## Validations ##\n\n### Inscrição Estadual ###\n\n```javascript\n\tvar BrV = require('./br-validations');\n\tvar uf = 'PE';\n\tvar ie = '1321418-40';\n\tvar isValid = BrV.ie(uf).validate(ie);\n```\nSee: [Conferência de Inscrições Estaduais](http://www.sintegra.gov.br/insc_est.html)\n\n### CPF ###\n\n```javascript\n\tvar BrV = require('./br-validations');\n\tvar cpf = '219.841.712-08';\n\tvar isValid = BrV.cpf.validate(cpf);\n```\n\n### CNPJ ###\n\n```javascript\n\tvar BrV = require('./br-validations');\n\tvar cnpj = '10.157.471/0001-61';\n\tvar isValid = BrV.cnpj(uf).validate(cnpj);\n```\n\n### RG ###\n\n__Not implemented yet__\n\n### PIS/PASEP ###\n\n```javascript\n\tvar BrV = require('./br-validations');\n\tvar pis = '120.5825.883-7';\n\tvar isValid = BrV.pis.validate(pis);\n```\n\n## Contributing\n\nWe'd love for you to contribute to our source code! We just ask for you to: \n\n - Follow the commit conventions of [conventional-changelog](https://github.com/ajoslin/conventional-changelog) described in \n[conventional-conventions](https://github.com/ajoslin/conventional-changelog/blob/master/conventions/angular.md)\n - Write tests for the new feature or bug fix that you are solving\n - Ensure all tests pass before send the pull-request (Use: `$ gulp test-coverage`)\n","maintainers":[{"name":"the-darc","email":"darc.tec@gmail.com"}],"time":{"modified":"2022-06-13T05:03:34.571Z","created":"2014-08-26T05:14:54.902Z","0.1.0":"2014-08-26T05:14:54.902Z","0.2.0":"2014-08-26T19:10:11.046Z","0.2.3":"2014-10-22T23:06:16.778Z","0.2.4":"2015-05-11T16:58:02.232Z","0.3.0":"2015-07-15T18:53:52.399Z","0.3.1":"2016-11-10T11:00:47.615Z"},"homepage":"http://github.com/the-darc/br-validations","keywords":["validator","validation","cpf","cnpj","inscrição estadual","pis pasep"],"repository":{"type":"git","url":"git+https://github.com/the-darc/br-validations.git"},"author":{"name":"Daniel Campos","email":"darc.tec@gmail.com"},"bugs":{"url":"https://github.com/the-darc/br-validations/issues"},"license":"MIT","readmeFilename":"README.md","users":{"the-darc":true,"egermano":true,"rafaelc457ro":true}}