Skip to content

Commit

Permalink
Moved npm package to @ORCID organization scope.
Browse files Browse the repository at this point in the history
  • Loading branch information
wjrsimpson committed Dec 22, 2020
1 parent 37b23d2 commit f7dd48f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,13 @@ bibtexParse.toJSON('@article{sample1,title={sample title}}');
```

## Using in [Node.js](https://nodejs.org/)
Install ```npm install bibtex-parse-js```

(Note: prior to v0.0.25, bibtex-parser-js was an uncoped package in npm. From v0.0.25 onwards it is published under the @orcid organization.)

Install ```npm install @orcid/bibtex-parse-js```

```
var bibtexParse = require('bibtex-parse-js');
var bibtexParse = require('@orcid/bibtex-parse-js');
var sample = bibtexParse.toJSON('@article{sample1,title={sample title}}');
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "bibtex-parse-js",
"name": "@orcid/bibtex-parse-js",
"version": "0.0.25",
"description": "A JavaScript library that parses BibTeX to JSON",
"main": "bibtexParse.js",
Expand All @@ -14,7 +14,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/ORCID/bibtexParseJs"
"url": "git+https://github.com/ORCID/bibtexParseJs.git"
},
"keywords": [
"bibtex",
Expand All @@ -24,8 +24,9 @@
],
"author": "rcpeters",
"license": "MIT",
"readmeFilename": "README.md",
"bugs": {
"url": "https://github.com/ORCID/bibtexParseJs/issues"
}
},
"homepage": "https://github.com/ORCID/bibtexParseJs#readme",
"dependencies": {}
}

0 comments on commit f7dd48f

Please sign in to comment.