Skip to content
A JavaScript library that parses BibTeX parser.
TeX JavaScript
Latest commit e17b314 Jun 24, 2015 @rcpeters rcpeters clean up
Failed to load latest commit information.
test
.gitignore
.npmignore added package.json Jul 18, 2013
LICENSE updated license Sep 27, 2013
README.md make package name a better match Oct 4, 2013
SAMPLE.js
bibtexParse.js
package.json remove latex support Jun 24, 2015

README.md

bibtexParseJs

A JavaScript library that parses BibTeX parser. Forked from bibtex-parser.

Using in Browser

Include bibtexParse.js and call

bibtexParse.toJSON('@article{sample1,title={sample title}}');

Using in Node.js

Install npm install bibtex-parse-js

var bibtexParse = require('bibtex-parse-js');

var sample = bibtexParse.toJSON('@article{sample1,title={sample title}}');

console.log(sample);

Returns A parsed bibtex file as a JSON Array Object

[ { citationKey: 'SAMPLE1',
    entryType: 'ARTICLE',
    entryTags: { TITLE: 'sample title' } } ]

Contributing

Contributions are welcome. Please make sure the unit test(test/runTest.js) reflects the changes and completes successfully.

Credits

(c) 2010 Henrik Muehe. MIT License visit

CommonJS port maintained by Mikola Lysenko visit

Something went wrong with that request. Please try again.