Extract, validate and normalize National Clinical Trials IDs.
Current version: 0.1.1
Supported Node.js versions: 18, 20, 22, 23
Add the following to your package.json
via yarn add identifiers-nct
or npm install --save identifiers-nct
:
"identifiers-nct": "^0.1.0"
const nct = require("identifiers-nct");
nct.extract("nct00000106\nnCt00000107");
//=> ["NCT00000106", "NCT00000107"]
We also maintain versions of this library for Ruby and PHP.
Copyright © 2017-2024 Altmetric LLP
Distributed under the MIT License.