A library and CLI tool to generate BibTeX records for IETF RFCs.
$ npm install --global rfc-to-bib # Or alternately: `yarn global add rfc-to-bib`
$ npm install --save rfc-to-bib # Or alternately: `yarn add rfc-to-bib`
$ rfc-to-bib --help
A CLI tool to generate BibTeX records of IETF RFCs.
Usage
$ rfc-to-bib <rfc>
Options
-h, --help Display this screen.
-v, --version Display the software version.
Examples
$ rfc-to-bib 2616
$ rfc-to-bib 2616 > rfc2616.bib
const rfcToBib = require('rfc-to-bib');
let rfc = 2616;
rfcToBib(rfc).then(bib => {
console.log(bib);
}).catch(error => {
console.error(error.message);
});
$ npm test # Or alternately: `yarn test`
The MIT License (Expat). See the license file for details.