New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

js-isin-validator

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-isin-validator

International Securities Identification Number (ISIN) Validator

latest
Source
npmnpm
Version
1.0.6
Version published
Weekly downloads
299
-28.64%
Maintainers
1
Weekly downloads
 
Created
Source

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
1.0.6

Keywords

validator

FAQs

Package last updated on 30 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts