hardcider
CLI for quickly generating citations for websites and books
Last updated 2 years ago by aeksco .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hardcider 
SYNC missed versions from official npm registry.

hardcider

:beer: Create citations from the command line

Installation

Run the following command to install hardcider - requires Node.js 8.x and higher

npm install -g hardcider

Usage

  • hardcider website <url> - create a website citation from a URL

  • hardcider book <isbn> - create a book citation from an ISBN-10 or ISBN-13

Example

$ hardcider website --mla https://en.wikipedia.org/wiki/John_Coltrane

Fetching MLA citation...

“John Coltrane.” Wikipedia, Wikimedia Foundation, 24 Oct. 2018, en.wikipedia.org/wiki/John_Coltrane.

Flags

The following flags apply to both the website and book commands

  • --mla - returns an MLA Formatted Citation (default)
  • --apa - returns an APA Formatted Citation
  • --chicago - returns a Chicago Formatted Citation
  • --ieee - returns an IEEE Formatted Citation
  • --bibtex - returns an BibTeX Formatted Citation

Thanks

Built with commanderjs, chalk, puppeteer, and citationmachine.net. Open Source under the MIT License.

Note

This implementation uses puppeteer, a headless Chromium browser to navigate through a series of forms on citationmachine.net. It's faster than manually using any citation website I've come across, but it's admittedly a resource-intensive approach.

Current Tags

  • 0.3.0                                ...           latest (2 years ago)

6 Versions

  • 0.3.0                                ...           2 years ago
  • 0.2.2                                ...           2 years ago
  • 0.2.1                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (6)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |