identifiers-doi
v0.2.1
Published
Extract, validate and normalize DOIs (and ISBN-As).
Downloads
358
Readme
Identifiers - DOI
Extract, validate and normalize DOIs (including ISBN-As).
Current version: 0.2.1
Supported Node.js versions: 4, 5, 6, 7
Installation
Add the following to your package.json
via yarn add identifiers-doi
or npm install --save identifiers-doi
:
"identifiers-doi": "^0.2.0"
Usage
const doi = require("identifiers-doi");
doi.extract("My favourite DOI is 10.1038/nplants.2015.3");
//=> ["10.1038/nplants.2015.3"]
Other versions
We also maintain versions of this library for Ruby and PHP.
License
Copyright © 2017 Altmetric LLP
Distributed under the MIT License.