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).
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);
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());
pandoc
can use files in the citeproc format -- hylla
can write these:
lib.write()