citationstyles

csl collection from citationstyles.org

npm install citationstyles
8 downloads in the last week
16 downloads in the last month

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.

npm loves you