@citation-js/cli
Core functionality of Citation.js, as well as the original plugins (CSL, BibTeX, RIS, DOI, Wikidata, and BibJSON)
Science Score: 67.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
✓DOI references
Found 4 DOI reference(s) in README -
✓Academic publication links
Links to: zenodo.org -
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (10.9%) to scientific vocabulary
Keywords
Repository
Core functionality of Citation.js, as well as the original plugins (CSL, BibTeX, RIS, DOI, Wikidata, and BibJSON)
Basic Info
- Host: GitHub
- Owner: citation-js
- License: mit
- Language: JavaScript
- Default Branch: main
- Homepage: https://citation.js.org
- Size: 6.2 MB
Statistics
- Stars: 173
- Watchers: 4
- Forks: 44
- Open Issues: 37
- Releases: 0
Topics
Metadata Files
README.md

Citation.js converts formats like BibTeX, Wikidata JSON and BibJSON to CSL-JSON to convert to other formats like APA, Vancouver, RIS and back to BibTeX.
Read the paper Citation.js: a format-independent, modular bibliography tool for the browser and command line.
Site • Repo • Getting Started • Documentation • Demo
Packages
| citation-js/citation-js | replaces | larsgw/citation.js |
|---|---|---|
| This repository contains the npm package @citation-js/core and several other components. || This repository contains the npm package citation-js that wraps the aforementioned components for backwards compatibility. |
Core
Cite: reference managerplugins: plugins managerutil: several utility functions and classesversion
Plugins
| Plugin | Description |
|---|---|
| plugin-bibjson | Plugin for BibJSON formats for Citation.js |
| plugin-bibtex | Plugin for BibTeX formats for Citation.js |
| plugin-csl | Plugin for CSL output for Citation.js |
| plugin-doi | Plugin for DOI input for Citation.js |
| plugin-ris | Plugin for RIS formats for Citation.js |
| plugin-wikidata | Plugin for Wikidata for Citation.js |
Plugins in other repositories
| Plugin | Description |
|---|---|
| plugin-software-formats | Plugin for CFF, Zenodo JSON, input from GitHub and npm URLs |
| plugin-isbn | Plugin for ISBNs (from Google Books, OpenLibrary) |
| plugin-orcid | Plugin for ORCID profiles (metadata from DOIs and ISBNs) |
| plugin-pubmed | Plugin for PubMed and PubMed Central identifiers |
| plugin-quickstatements | Plugin for output to Wikidata QuickStatements |
| plugin-zotero-translation-server | Plugin for Zotero JSON and interfacing with a Zotero translation server |
| plugin-refer | Plugin for the refer file format |
| plugin-refworks | Plugin for the RefWorks tagged format |
CLI
CLI:
Usage: citation-js [options]
Options:
-V, --version output the version number
-i, --input <path> Input file. If all input options are omitted, it uses stdin
-t, --text <string> Input text. If all input options are omitted, it uses stdin
-u, --url <string> Deprecated in favor of -t, --text. If all input options are omitted, it uses stdin
-o, --output <path> Output file (omit file extension). If this option is omitted, the output is written to stdout
-R, --output-non-real Output as a text file
-f, --output-type <option> Output structure type: string, html, json (default: "json")
-s, --output-style <option> Output scheme. A combination of --output-format json and --output-style citation-* is considered invalid. Options: csl (Citation Style Lanugage JSON), bibtex, citation-* (where * is any formatting style) (default: "csl")
-l, --output-language <option> Output language. [RFC 5646](https://tools.ietf.org/html/rfc5646) codes (default: "en-US")
-h, --help output usage information
Acknowledgements
- Thanks to the JS.ORG DNS service for the site url!
- Thanks to BrowserStack for the free Open Source plan, allowing me to automate testing browser support, and avoid issues like this one!
Owner
- Name: Citation.js
- Login: citation-js
- Kind: organization
- Email: citationjs@protonmail.com
- Website: https://citation.js.org
- Twitter: citation_js
- Repositories: 24
- Profile: https://github.com/citation-js
Citation (CITATION.cff)
cff-version: 1.2.0
message: Please cite the following works when using this software.
authors:
- family-names: Willighagen
given-names: Lars
website: https://github.com/larsgw
- family-names: Verborgh
given-names: Ruben
website: https://github.com/RubenVerborgh
- family-names: Willighagen
given-names: Egon
website: https://github.com/egonw
- family-names: Voß
given-names: Jakob
website: https://github.com/nichtich
- family-names: Shaw
given-names: Alex
website: https://github.com/Symbitic
- family-names: Wiernik
given-names: Brenton M.
website: https://github.com/bwiernik
- family-names: Stein
given-names: Gabriel
website: https://github.com/gabestein
- family-names: Riquelme
given-names: Juan
website: https://github.com/soulchainer
- name: anadrome
website: https://github.com/anadrome
- family-names: Čermák
given-names: Petr
website: https://github.com/me2d09
date-released: 2024-03-27
identifiers:
- type: url
value: https://github.com/citation-js/citation-js
title: citation-js/citation-js
url: https://github.com/citation-js/citation-js
version: v0.7.10
preferred-citation:
authors:
- family-names: Willighagen
given-names: Lars G.
doi: 10.7717/peerj-cs.214
identifiers:
- type: doi
value: 10.7717/peerj-cs.214
- type: url
value: http://dx.doi.org/10.7717/peerj-cs.214
- type: other
value: urn:issn:2376-5992
title: >-
Citation.js: a format-independent, modular bibliography tool for the
browser and command line
url: http://dx.doi.org/10.7717/peerj-cs.214
database: Crossref
date-published: 2019-08-12
year: 2019
month: 8
issn: 2376-5992
journal: PeerJ Computer Science
languages:
- en
publisher:
name: PeerJ
start: e214
type: article
volume: 5
GitHub Events
Total
- Issues event: 12
- Watch event: 21
- Issue comment event: 12
- Push event: 6
- Pull request event: 2
- Fork event: 4
- Create event: 6
Last Year
- Issues event: 12
- Watch event: 21
- Issue comment event: 12
- Push event: 6
- Pull request event: 2
- Fork event: 4
- Create event: 6
Committers
Last synced: almost 3 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Lars Willighagen | l****n@g****m | 611 |
| Ruben Verborgh | r****n@v****g | 7 |
| dependabot[bot] | 4****]@u****m | 3 |
| Alexander Zeilmann | a****n@g****m | 2 |
| Egon Willighagen | e****n@g****m | 2 |
| Jakob Voß | j****b@n****e | 2 |
| Mark J. Nelson | m****n@a****g | 1 |
| Jeffrey Heer | j****r@g****m | 1 |
| Alex | a****s@g****m | 1 |
| Gabriel Stein | g@g****m | 1 |
| Petr Čermák | p****k@l****m | 1 |
| Juan Riquelme González | me@j****e | 1 |
| Brenton M. Wiernik | b****k@u****m | 1 |
| Anusha S | a****s@t****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 120
- Total pull requests: 30
- Average time to close issues: 6 months
- Average time to close pull requests: 18 days
- Total issue authors: 55
- Total pull request authors: 7
- Average comments per issue: 2.44
- Average comments per pull request: 1.77
- Merged pull requests: 9
- Bot issues: 0
- Bot pull requests: 22
Past Year
- Issues: 9
- Pull requests: 3
- Average time to close issues: 19 days
- Average time to close pull requests: N/A
- Issue authors: 7
- Pull request authors: 1
- Average comments per issue: 1.67
- Average comments per pull request: 0.0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 3
Top Authors
Issue Authors
- larsgw (40)
- cclpeng (5)
- AlexanderZeilmann (5)
- crystalfp (4)
- egonw (4)
- fnielsen (3)
- gabestein (2)
- ech0-de (2)
- himito (2)
- retorquere (2)
- bootsa (2)
- Leon0402 (2)
- AWehrhahn (2)
- lightninglu10 (2)
- MaxwellBo (2)
Pull Request Authors
- dependabot[bot] (21)
- larsgw (2)
- AlexanderZeilmann (1)
- St-ton (1)
- georgecodedit (1)
- jheer (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 9
-
Total downloads:
- npm 374,402 last-month
- Total docker downloads: 307,083
-
Total dependent packages: 76
(may contain duplicates) -
Total dependent repositories: 3,572
(may contain duplicates) - Total versions: 423
- Total maintainers: 1
npmjs.org: @citation-js/core
Convert different bibliographic metadata sources
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-bibtex
Plugin for BibTeX formats for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-csl
Plugin for CSL output for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-doi
Plugin for DOI input for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-bibjson
Plugin for BibJSON formats for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-wikidata
Plugin for Wikidata for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.20
published 8 months ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-ris
Plugin for RIS formats for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/cli
CLI for Citation.js
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.20
published 8 months ago
Rankings
Maintainers (1)
npmjs.org: @citation-js/plugin-url
Citation.js plugin for automatically fetching URLs.
- Homepage: https://citation.js.org/
- License: MIT
-
Latest release: 0.7.18
published about 1 year ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v2 composite
- actions/setup-node v1 composite
- codecov/codecov-action v1 composite
- 1033 dependencies
- @babel/cli ^7.12.1 development
- @babel/core ^7.12.3 development
- @babel/eslint-parser ^7.17.0 development
- @babel/preset-env ^7.12.1 development
- @babel/register ^7.12.1 development
- babel-plugin-istanbul ^6.0.0 development
- conventional-changelog-cli ^4.1.0 development
- expect.js ^0.3.1 development
- jsdoc ^4.0.0 development
- lerna ^5.1.8 development
- mocha ^10.0.0 development
- mock-require ^3.0.3 development
- node-fetch ^2.6.7 development
- nyc ^15.1.0 development
- standard ^17.0.0 development
- wikidata-sdk ^8.0.0 development
- @citation-js/core 0.7.1
- @citation-js/date 0.5.1
- @citation-js/name 0.4.2
- @citation-js/plugin-bibjson 0.7.2
- @citation-js/plugin-bibtex 0.7.2
- @citation-js/plugin-csl 0.7.2
- @citation-js/plugin-doi 0.7.2
- @citation-js/plugin-ris 0.7.4
- @citation-js/plugin-wikidata 0.7.2
- base64-js 1.5.1
- buffer 5.7.1
- citeproc 2.4.63
- commander 11.1.0
- fetch-ponyfill 7.1.0
- ieee754 1.2.1
- moo 0.5.2
- node-fetch 2.6.13
- sync-fetch 0.4.5
- tr46 0.0.3
- webidl-conversions 3.0.1
- whatwg-url 5.0.0
- wikibase-sdk 8.1.1
- wikidata-sdk 8.1.1
- @citation-js/core ^0.7.6
- @citation-js/plugin-bibjson ^0.7.6
- @citation-js/plugin-bibtex ^0.7.6
- @citation-js/plugin-csl ^0.7.6
- @citation-js/plugin-doi ^0.7.7
- @citation-js/plugin-ris ^0.7.6
- @citation-js/plugin-wikidata ^0.7.7
- commander ^11.0.0
- @citation-js/date 0.5.1
- @citation-js/name 0.4.2
- base64-js 1.5.1
- buffer 5.7.1
- fetch-ponyfill 7.1.0
- ieee754 1.2.1
- node-fetch 2.6.7
- sync-fetch 0.4.5
- tr46 0.0.3
- webidl-conversions 3.0.1
- whatwg-url 5.0.0
- @citation-js/date ^0.5.0
- @citation-js/name ^0.4.2
- fetch-ponyfill ^7.1.0
- sync-fetch ^0.4.1
- @citation-js/core 0.7.1 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.7 development
- sync-fetch 0.4.1 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/date 0.5.1
- @citation-js/name 0.4.2
- @citation-js/core ^0.7.6 development
- @citation-js/date ^0.5.0
- @citation-js/name ^0.4.2
- @citation-js/core 0.7.1 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.7 development
- sync-fetch 0.4.1 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/date 0.5.1
- @citation-js/name 0.4.2
- moo 0.5.2
- @citation-js/core ^0.7.6 development
- @citation-js/date ^0.5.0
- @citation-js/name ^0.4.2
- moo ^0.5.1
- @citation-js/core 0.7.1 development
- @citation-js/name 0.4.2 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.7 development
- sync-fetch 0.4.1 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/date 0.5.1
- citeproc 2.4.63
- @citation-js/core ^0.7.6 development
- @citation-js/date ^0.5.0
- citeproc ^2.4.6
- @citation-js/core 0.7.1 development
- @citation-js/name 0.4.2 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.7 development
- sync-fetch 0.4.1 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/date 0.5.1
- @citation-js/core ^0.7.6 development
- @citation-js/date ^0.5.0
- @citation-js/core 0.7.1 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.7 development
- sync-fetch 0.4.1 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/date 0.5.1
- @citation-js/name 0.4.2
- @citation-js/core ^0.7.6 development
- @citation-js/date ^0.5.0
- @citation-js/name ^0.4.2
- @citation-js/core 0.7.1 development
- @citation-js/date 0.5.1 development
- @citation-js/name 0.4.2 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.13 development
- sync-fetch 0.4.5 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/core ^0.7.6 development
- @citation-js/core 0.7.1 development
- base64-js 1.5.1 development
- buffer 5.7.1 development
- fetch-ponyfill 7.1.0 development
- ieee754 1.2.1 development
- node-fetch 2.6.7 development
- sync-fetch 0.4.1 development
- tr46 0.0.3 development
- webidl-conversions 3.0.1 development
- whatwg-url 5.0.0 development
- @citation-js/date 0.5.1
- @citation-js/name 0.4.2
- wikibase-sdk 8.1.1
- wikidata-sdk 8.1.1
- @citation-js/core ^0.7.6 development
- @citation-js/date ^0.5.0
- @citation-js/name ^0.4.2
- wikidata-sdk ^8.0.0

