@retorquere/bibtex-parser
TypeScript icon, indicating that this package has built-in type declarations

9.0.1 • Public • Published

bibtex-parser

A node/npm package for parsing bibtex (.bib) files. This is the parser that drives Better BibTeX for Zotero bib(la)tex imports.

While parsing, the parser will apply markup for commands such as \textbf, \textsc, etc, and braces wich protect text against case-changes. Commands will be replaced with their unicode text equivalents where possible.

What is BibTeX?

BibTeX is a reference management program that makes it easy for users of TeX and LaTeX to generate bibliographies for books and journal articles. When possible, it is usually stylized in the TeX font the way TeX and LaTeX are. LaTeX was first created in 1985 by Leslie Lamport and Oren Patashnik.

Documenation is available at https://retorque.re/bibtex-parser/.

9.0 is a breaking change!

Look at the documentation for what has changed:

  • the chunker parser is now called the verbatim parser, and the return type of the entries has changed
  • the main parser has changed the structure of the entries returned, the errors returned, and the options passed into the parser
  • unabbreviations left to consumers of the library. unabbrev.json remains available.

Readme

Keywords

Package Sidebar

Install

npm i @retorquere/bibtex-parser

Weekly Downloads

679

Version

9.0.1

License

ISC

Unpacked Size

7.64 MB

Total Files

26

Last publish

Collaborators

  • retorquere