https://github.com/gsf/pairtree.js
Pairtree in JavaScript
https://github.com/gsf/pairtree.js
Last synced: 4 months ago
JSON representation
Pairtree in JavaScript
- Host: GitHub
- URL: https://github.com/gsf/pairtree.js
- Owner: gsf
- Created: 2011-07-07T02:55:42.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-07-12T14:50:22.000Z (over 14 years ago)
- Last Synced: 2025-07-25T18:15:06.489Z (4 months ago)
- Language: JavaScript
- Homepage: http://gsf.github.com/pairtree.js
- Size: 125 KB
- Stars: 9
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
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.