BibTeX parsing library

I am looking for a Javascript library for parsing BibTeX files. Ideally, I would like to be able to link to papers and create publication lists from the BibTeX database (files with the .bib extension). Any tips on what I should go with?

I know bibtex-js . Is there anything else?

+4
source share
2 answers

It depends on what you want to receive. If you want to spit out JSON, then a definite choice is bibtex-parser-js . If you want to generate HTML using I / O, there are several options: bibtex2html (OCaml) bibhtml (XSLT) bib2xhtml (Perl) bibtex2web (Perl)

... but they are not JavaScript. However, this may be useful for you: bib-publication-list

+1
source

I made a project, by the way also called bibtex-js . Also available at npm .

, BibTeX . BibTeX, BeaST bibfiles .

Typescript.

npm install bibtex

:

import {parseBibFile} from "bibtex";
const bibFile = parseBibFile(bibtexString);
+1

Source: https://habr.com/ru/post/1537774/


All Articles