Naysayers Promote Misery

    hardcider

    0.3.0 • Public • Published

    hardcider

    🍺 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.

    Install

    npm i hardcider

    DownloadsWeekly Downloads

    12

    Version

    0.3.0

    License

    MIT

    Unpacked Size

    767 kB

    Total Files

    7

    Last publish

    Collaborators

    • aeksco