Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Commit 753f532

Browse files
committed
Deprecate in favour of @altmetric/identifiers
1 parent ff7b64c commit 753f532

1 file changed

Lines changed: 10 additions & 24 deletions

File tree

README.md

Lines changed: 10 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,19 @@
1-
# Identifiers - PubMed ID
1+
# This package has been deprecated
22

3-
Extract, validate and normalize [PubMed IDs](http://www.ncbi.nlm.nih.gov/pubmed).
3+
This package has been consolidated into [@altmetric/identifiers](https://github.com/altmetric/identifiers-js).
44

5-
**Current version:** 0.1.1
6-
**Supported Node.js versions:** 18, 20, 22, 23
5+
## Migration
76

8-
## Installation
7+
Replace:
98

10-
Add the following to your `package.json` via `yarn add identifiers-pubmed` or `npm install --save identifiers-pubmed`:
11-
12-
```shell
13-
"identifiers-pubmed": "^0.1.0"
9+
```js
10+
import { extract } from 'identifiers-pubmed';
1411
```
1512

16-
## Usage
17-
18-
```javascript
19-
const pubmed = require("identifiers-pubmed");
13+
With:
2014

21-
pubmed.extract(" 0123\n456\n ");
22-
//=> ["123", "456"]
15+
```js
16+
import { extract } from '@altmetric/identifiers/pubmed';
2317
```
2418

25-
## Other versions
26-
27-
We also maintain versions of this library for [Ruby](https://github.com/altmetric/identifiers) and [PHP](https://github.com/altmetric/php-identifiers).
28-
29-
## License
30-
31-
Copyright © 2017-2024 Altmetric LLP
32-
33-
Distributed under the [MIT License](http://opensource.org/licenses/MIT).
19+
See the [@altmetric/identifiers README](https://github.com/altmetric/identifiers-js#readme) for full documentation.

0 commit comments

Comments
 (0)