Skip to content
A JavaScript library that parses BibTeX parser.
Branch: master
Clone or download
rcpeters Merge pull request #23 from nickbailey/master
IE11 doesn't allow default function parameters
Latest commit 7eb975c Mar 6, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test read input from file, makes testing inputs with other exteranl code e… Nov 1, 2017
.gitignore adding files Jul 18, 2013
.npmignore added package.json Jul 18, 2013
.travis.yml testing travis Jun 15, 2016
LICENSE updated license Sep 27, 2013
README.md deploying travis Jun 15, 2016
SAMPLE.js Add JavaScript Sample Oct 7, 2013
bibtexParse.js
package.json update throws to TypeThrows Oct 31, 2017

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.

Travis CI

See the latest build and results at https://travis-ci.org/ORCID/bibtexParseJs

Credits

(c) 2010 Henrik Muehe. MIT License visit

CommonJS port maintained by Mikola Lysenko visit

You can’t perform that action at this time.