Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    citationstylespublic

    experimental work in progress, do not use this seriously!

    citationstyles

    build status

    This packages the CSL collection from http://citationstyles.org for usage with node.js.


    API/Usage

    list(callback)

    The only argument is a callback function, which gets called with an array of built-in styles

    example usage:

    var csl = require('citatonstyles');
     
    csl.list(function (err, res) {
      console.log(err || res);
      });

    should log:

    [ { id: 'academy-of-management-review',
        path: '/path/to/academy-of-management-review.csl' } ]

    Bugs

    • "dependent" styles are ignored for now, since I have not figured out how to actually use them (with pandoc)
    • if you found more, please report them

    Versioning

    • using semver
    • 'PATCH' (the last number) will get updated for every change in the upstream styles repo
    • the git short hash of the upstream repo will be added as build metadata

    Licence

    Creative Commons Attribution-ShareAlike 3.0 Unported, same as the styles themselves.

    Keywords

    none

    install

    npm i citationstyles

    Downloadslast 7 days

    1

    version

    0.0.3-228dee2

    license

    none

    repository

    github.com

    last publish

    collaborators

    • avatar