0.0.6 • Published 9 years ago
hylla v0.0.6
Hylla
hylla is a package to deal with bibliographic references in the citeproc-json
format. It is currently very bare bones. If you want to see an example of it in
action, try seilf (for the browser).
Setting-up
hylla will need two folders to operate: records (to store individual
entries) and files (to store the PDF that you stole from sci-hub).
var hylla = require('hylla');
var path = require('path').dirname(require.main.filename);
var lib = new hylla.Library(path);Adding references
hylla add references from objects in the citeproc format. Most of the time,
you will get these from external sources, like a DOI:
var dna = '10.1038/171737a0';
var dna_ref = hylla.doi.refFromDoi(dna);
var newref = lib.new(dna_ref);
console.log(lib.keys());Exporting the bibliography
pandoc can use files in the citeproc format -- hylla can write these:
lib.write()