validate-ruc

1.0.0 • Public • Published

Ruc Validation

Allow validate ruc for peruvian business

Installation using npm or bower

npm install validate-ruc --save

bower install validate-ruc --save

Usage from nodejs or browser

var ruc = require('validate-ruc');

<script src="ruc.js"></script>
var isValid = ruc.validateRuc('20292005483');

//true

var isValid = ruc.validateRuc('7237722222');

//false

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i validate-ruc

    Weekly Downloads

    9

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • erivero