You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			|  | 6 years ago | |
|---|---|---|
| .. | ||
| 1 | 6 years ago | |
| LICENSE | 6 years ago | |
| README.md | 6 years ago | |
| SAMPLE.js | 6 years ago | |
| bibsym_notes.txt | 6 years ago | |
| bibtexParse.js | 6 years ago | |
| out.txt | 6 years ago | |
| package.json | 6 years ago | |
		
			
				
				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