rfc-to-bib

0.2.2 • Public • Published

rfc-to-bib

npm Version GitHub License Build Status

A library and CLI tool to generate BibTeX records for IETF RFCs.

Install

CLI

$ npm install --global rfc-to-bib  # Or alternately: `yarn global add rfc-to-bib` 

API

$ npm install --save rfc-to-bib  # Or alternately: `yarn add rfc-to-bib` 

Usage

CLI

$ 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

API

const rfcToBib = require('rfc-to-bib');
 
let rfc = 2616;
 
rfcToBib(rfc).then(bib => {
    console.log(bib);
}).catch(error => {
    console.error(error.message);
});

Testing

$ npm test  # Or alternately: `yarn test` 

License

The MIT License (Expat). See the license file for details.

Dependents (0)

Package Sidebar

Install

npm i rfc-to-bib

Weekly Downloads

7

Version

0.2.2

License

MIT

Unpacked Size

116 kB

Total Files

30

Last publish

Collaborators

  • radioactivehamster