Skip to content

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

License

Notifications You must be signed in to change notification settings

jbenner-radham/rfc-to-bib

Repository files navigation

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published