Skip to content

altmetric/identifiers-pubmed

Repository files navigation

Identifiers - PubMed ID

Extract, validate and normalize PubMed IDs.

Current version: 0.1.1
Supported Node.js versions: 18, 20, 22, 23

Installation

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

"identifiers-pubmed": "^0.1.0"

Usage

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

pubmed.extract(" 0123\n456\n ");
//=> ["123", "456"]

Other versions

We also maintain versions of this library for Ruby and PHP.

License

Copyright © 2017-2024 Altmetric LLP

Distributed under the MIT License.

Releases

No releases published

Packages

No packages published