Skip to content

altmetric/identifiers-arxiv

Repository files navigation

Identifiers - arXiv Build Status

Extract, validate and normalize arXiv IDs.

Current version: 0.1.1
Supported Node.js versions: 14, 15, 16, 17, 18, 19

Installation

Add the following to your package.json via yarn add identifiers-arxiv or npm install --save identifiers-arxiv:

"identifiers-arxiv": "^0.1.0"

Usage

const arxiv = require("identifiers-arxiv");

arxiv.extract("math.GT/0309136\narXiv:1501.00001v2");
//=> ["math.GT/0309136", "1501.00001v2"]

Other versions

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.

License

Copyright © 2022 Altmetric LLP

Distributed under the MIT License.