Noble Programming Mantra
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    bibtex-parser-jspublic

    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-parser-js

    var bibtexParse = require('bibtex-parser-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

    Keywords

    none

    install

    npm i bibtex-parser-js

    Downloadslast 7 days

    49

    version

    0.0.2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar