Extract, validate and normalize arXiv IDs.
Current version: 0.1.1
Supported Node.js versions: 14, 15, 16, 17, 18, 19
Add the following to your package.json
via yarn add identifiers-arxiv
or npm install --save identifiers-arxiv
:
"identifiers-arxiv": "^0.1.0"
const arxiv = require("identifiers-arxiv");
arxiv.extract("math.GT/0309136\narXiv:1501.00001v2");
//=> ["math.GT/0309136", "1501.00001v2"]
Other packages are available for different scholar identifiers:
DOIs (and ISBN-As): https://github.com/altmetric/identifiers-doi
PubMed IDs: https://github.com/altmetric/identifiers-pubmed
ORCID: https://github.com/altmetric/identifiers-orcid
Handles: https://github.com/altmetric/identifiers-handle
National Clinical Trials IDs: https://github.com/altmetric/identifiers-nct
ADS Bibcodes : https://github.com/altmetric/identifiers-bibcode
RePEc IDs: https://github.com/altmetric/identifiers-repec
URNs: https://github.com/altmetric/identifiers-urn
We also maintain versions of these libraries for Ruby and PHP.
Copyright © 2022 Altmetric LLP
Distributed under the MIT License.