UNPKG

@hygull/bibtex

Version:

Get details about BibTeX (.bib) syntax, available ENTRY types and many more using Node APIs.

13 lines (8 loc) 209 B
/* Created at: 20 Sep 2018, Thu */ const bibtex = require("../index"); const bib = new bibtex(); const fields = bib.getFields('article'); // Pretty printing console.log(JSON.stringify(fields, null, 4));