Neverending Perpetual Motion

    js-isin-validator

    1.0.5 • Public • Published

    ISIN Validator

    International Securities Identification Number (ISIN) Validator

    Build Status Coverage Status

    Install

    $ npm install js-isin-validator --save
    

    Run the specs

    $ yarn test
    

    Usage

    const validator = require('js-isin-validator');
    
    // Use for simple type checking
    if (validator.isIsinValid(isin)) {
      // cool
    }
    
    // Get check digit
    const checkDigit = validator.calcIsinCheckDigit(isin);
    
    
    // Get the list of the valid countries
    const countries = validator.countries;

    Changelog

    1.0.0
    • Initial commit
    1.0.1
    • Add Travis config
    1.0.2
    • Fix entrypoint
    1.0.3
    • Add International Securities country code
    1.0.4
    • Allow lowercase ISINs
    1.0.5
    • Include missing dist/index.js updated

    Install

    npm i js-isin-validator

    DownloadsWeekly Downloads

    737

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    26.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • jonamx