{"id":13689496,"url":"https://github.com/citation-js/citation-js","last_synced_at":"2025-05-02T00:30:27.520Z","repository":{"id":38939318,"uuid":"158958181","full_name":"citation-js/citation-js","owner":"citation-js","description":"Core functionality of Citation.js, as well as the original plugins (CSL, BibTeX, RIS, DOI, Wikidata, and BibJSON)","archived":false,"fork":false,"pushed_at":"2025-01-28T13:08:46.000Z","size":6957,"stargazers_count":161,"open_issues_count":35,"forks_count":43,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-12T04:34:31.012Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":"https://citation.js.org","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/citation-js.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-11-24T17:21:08.000Z","updated_at":"2025-04-07T13:58:15.000Z","dependencies_parsed_at":"2024-03-27T15:42:48.074Z","dependency_job_id":"795f5198-c297-4714-a9b0-0bda4cb6df79","html_url":"https://github.com/citation-js/citation-js","commit_stats":{"total_commits":635,"total_committers":14,"mean_commits":"45.357142857142854","dds":0.03779527559055118,"last_synced_commit":"c718e6b82da45891123c83ef6cd5fa772c42cd79"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-js%2Fcitation-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-js%2Fcitation-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-js%2Fcitation-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/citation-js%2Fcitation-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/citation-js","download_url":"https://codeload.github.com/citation-js/citation-js/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251966431,"owners_count":21672666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-08-02T15:01:50.221Z","updated_at":"2025-05-02T00:30:25.311Z","avatar_url":"https://github.com/citation-js.png","language":"JavaScript","funding_links":[],"categories":["hacktoberfest","JavaScript"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg alt=\"Citation.js\" src=\"https://citation.js.org/static/img/square_logo_medium.png\" /\u003e\u003c/p\u003e\n\nCitation.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.\n\nRead the paper [*Citation.js: a format-independent, modular bibliography tool for the browser and command line*](https://peerj.com/articles/cs-214/?td=bl).\n![DOI 10.7717/peerj-cs.214](https://img.shields.io/badge/DOI-10.7717%2Fpeerj--cs.214-blue)\n\n---\n\n\u003cp align=\"center\"\u003e\u003ca href=\"https://citation.js.org\"\u003eSite\u003c/a\u003e • \u003ca href=\"https://github.com/citation-js/citation-js\"\u003eRepo\u003c/a\u003e • \u003ca href=\"https://citation.js.org/#getting-started\"\u003eGetting Started\u003c/a\u003e • \u003ca href=\"https://citation.js.org/api/0.7\"\u003eDocumentation\u003c/a\u003e • \u003ca href=\"https://citation.js.org/demo\"\u003eDemo\u003c/a\u003e\u003c/p\u003e\n\n---\n\n[![NPM version](https://img.shields.io/npm/v/@citation-js/core.svg)](https://npmjs.org/package/@citation-js/core)\n[![NPM yearly downloads](https://img.shields.io/npm/dy/@citation-js/core.svg)](https://npmcharts.com/compare/@citation-js%2Fcore?minimal=true)\n[![jsDelivr yearly hits](https://img.shields.io/jsdelivr/npm/hy/citation-js)](https://www.jsdelivr.com/package/npm/citation-js?tab=stats)\n[![Build Status](https://img.shields.io/github/actions/workflow/status/citation-js/citation-js/build.yml?branch=main)](https://github.com/citation-js/citation-js/actions?query=workflow%3Abuild)\n![License](https://img.shields.io/npm/l/@citation-js/core.svg)\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Join the chat at https://gitter.im/citation-js/Lobby](https://badges.gitter.im/citation-js/Lobby.svg)](https://gitter.im/citation-js/Lobby?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n[![DOI](https://zenodo.org/badge/doi/10.5281/zenodo.1005176.svg)](https://doi.org/10.5281/zenodo.1005176)\n\n# Packages\n\n| [citation-js/citation-js](https://github.com/citation-js/citation-js) | replaces | [larsgw/citation.js](https://github.com/larsgw/citation.js) |\n|---|---|---|\n| 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. |\n\n## Core\n\n[Core functionality](https://github.com/citation-js/citation-js/tree/main/packages/core):\n\n  * `Cite`: reference manager\n  * `plugins`: plugins manager\n  * `util`: several utility functions and classes\n  * `version`\n\n## Plugins\n\n| Plugin | Description |\n|---|---|\n| [`plugin-bibjson`](https://github.com/citation-js/citation-js/tree/main/packages/plugin-bibjson) | Plugin for BibJSON formats for Citation.js |\n| [`plugin-bibtex`](https://github.com/citation-js/citation-js/tree/main/packages/plugin-bibtex) | Plugin for BibTeX formats for Citation.js |\n| [`plugin-csl`](https://github.com/citation-js/citation-js/tree/main/packages/plugin-csl) | Plugin for CSL output for Citation.js |\n| [`plugin-doi`](https://github.com/citation-js/citation-js/tree/main/packages/plugin-doi) | Plugin for DOI input for Citation.js |\n| [`plugin-ris`](https://github.com/citation-js/citation-js/tree/main/packages/plugin-ris) | Plugin for RIS formats for Citation.js |\n| [`plugin-wikidata`](https://github.com/citation-js/citation-js/tree/main/packages/plugin-wikidata) | Plugin for Wikidata for Citation.js |\n\n### Plugins in other repositories\n\n| Plugin | Description |\n|---|---|\n| [`plugin-software-formats`](https://github.com/citation-js/plugin-software-formats) | Plugin for CFF, Zenodo JSON, input from GitHub and npm URLs |\n| [`plugin-isbn`](https://github.com/citation-js/plugin-isbn) | Plugin for ISBNs (from Google Books, OpenLibrary) |\n| [`plugin-orcid`](https://github.com/citation-js/plugin-orcid) | Plugin for ORCID profiles (metadata from DOIs and ISBNs) |\n| [`plugin-pubmed`](https://github.com/citation-js/plugin-pubmed) | Plugin for PubMed and PubMed Central identifiers |\n| [`plugin-quickstatements`](https://github.com/citation-js/plugin-quickstatements) | Plugin for output to Wikidata QuickStatements |\n| [`plugin-zotero-translation-server`](https://github.com/citation-js/plugin-zotero-translation-server) | Plugin for Zotero JSON and interfacing with a Zotero translation server |\n| [`plugin-refer`](https://github.com/citation-js/plugin-refer) | Plugin for the refer file format |\n| [`plugin-refworks`](https://github.com/citation-js/plugin-refworks) | Plugin for the RefWorks tagged format |\n\n## CLI\n\n[CLI](https://github.com/citation-js/citation-js/tree/main/packages/cli):\n\n    Usage: citation-js [options]\n\n    Options:\n      -V, --version                   output the version number\n      -i, --input \u003cpath\u003e              Input file. If all input options are omitted, it uses stdin\n      -t, --text \u003cstring\u003e             Input text. If all input options are omitted, it uses stdin\n      -u, --url \u003cstring\u003e              Deprecated in favor of -t, --text. If all input options are omitted, it uses stdin\n      -o, --output \u003cpath\u003e             Output file (omit file extension). If this option is omitted, the output is written to stdout\n      -R, --output-non-real           Output as a text file\n      -f, --output-type \u003coption\u003e      Output structure type: string, html, json (default: \"json\")\n      -s, --output-style \u003coption\u003e     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\")\n      -l, --output-language \u003coption\u003e  Output language. [RFC 5646](https://tools.ietf.org/html/rfc5646) codes (default: \"en-US\")\n      -h, --help                      output usage information\n\n# Acknowledgements\n\n[![JS.ORG](https://logo.js.org/dark_tiny.png)](https://js.org)\n\n* Thanks to the JS.ORG [DNS service](https://dns.js.org) for the site url!\n\n[\u003cimg width=\"250\" alt=\"BrowserStack\" src=\"https://citation.js.org/static/img/browserstack-logo-600x315.png\" /\u003e](https://browserstack.com)\n\n* Thanks to [BrowserStack](https://browserstack.com) for the free Open Source plan, allowing me to automate testing browser support, and avoid issues like [this one](https://github.com/larsgw/citation.js/issues/87)!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcitation-js%2Fcitation-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcitation-js%2Fcitation-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcitation-js%2Fcitation-js/lists"}