International Standard Serial Number (ISSN) Validation
npm install issn
var issn = ;
Validate ISSNs.
; // true; // false
Format ISSNs.
issn; // '0355-4325'issn; // '0001-253X' issn; // undefined
Calculate the check-digit.
issn; // '5'issn; // 'X'
CLI
$ issn <ISSN>
Here's another example piping some canned output through jq.
$ echo {\"prism:pissn\": \"0000-0019\"} | jq -r '.["prism:pissn"]' | issntrue
If you find any problems with this module, tweet or open an issue.