Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.44 KB

readme.md

File metadata and controls

39 lines (28 loc) · 1.44 KB

isin-generator

npm (scoped) GitHub issues GitHub forks GitHub stars GitHub license

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

License

MIT