@thomaschaplin/isin-generator
v1.0.3
Published
Generate a valid ISIN
Downloads
1,773
Maintainers
Readme
isin-generator
Generate a random ISIN
An International Securities Identification Number (ISIN) is a code that uniquely identifies a specific securities issue. The organization that allocates ISINs in any particular country is the country's respective National Numbering Agency (NNA).
Install
npm i @thomaschaplin/isin-generator
Usage
ES5
const generateIsin = require('@thomaschaplin/isin-generator')
console.log(generateIsin.isinGenerator()) // US112091HZ96
or
const { isinGenerator } = require('@thomaschaplin/isin-generator')
console.log(isinGenerator()) // XS2841269504
ES6
import { isinGenerator } from '@thomaschaplin/isin-generator')
console.log(isinGenerator()) // US362159GW90