BibtexParseJs
A JavaScript library that parses BibTeX parser.
Install / Use
/learn @ORCID/BibtexParseJsREADME
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
(Note: prior to v0.0.25, bibtex-parser-js was an uncoped package in npm. From v0.0.25 onwards it is published under the @orcid organization.)
Install npm install @orcid/bibtex-parse-js
var bibtexParse = require('@orcid/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
Related Skills
node-connect
345.9kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
106.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
345.9kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
345.9kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
