0.0.1 • Published 13 years ago

pairtree v0.0.1

Weekly downloads
12
License
-
Repository
github
Last release
13 years ago

Pairtree.js is a JavaScript library for Pairtree. See https://wiki.ucop.edu/display/Curation/PairTree

INSTALL

In the browser, simply source the pairtree.js script found in lib/. For node, execute the following:

$ npm install pairtree

USAGE

var path = pairtree.path('someId');
var id = pairtree.id('/so/me/pa/ir/tr/ee/pa/th/');

For examples, see the test directory.