is-valid-orcid
v1.2.0
Published
Check if a value is valid ORCID or not
Downloads
22
Maintainers
Readme
is-valid-orcid
yarn add is-valid-orcid
or npm install --save is-valid-orcid
import isValidOrcid from 'is-valid-orcid';
isValidOrcid('0000-0001-5109-3700') // true
isValidOrcid('0000000200880052') // false (requires hypens)
isValidOrcid('0000-0002-0088-0052') // false (invalid)