[go: up one dir, main page]

Skip to content

aeksco/hardcider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hardcider

🍺 Create citations from the command line

Downloads Version License

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.

Releases

No releases published

Packages

No packages published