Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsf/pairtree.js
Pairtree in JavaScript
https://github.com/gsf/pairtree.js
Last synced: 2 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 13 years ago)
- Default Branch: master
- Last Pushed: 2011-07-12T14:50:22.000Z (over 13 years ago)
- Last Synced: 2024-10-20T02:53:20.274Z (3 months ago)
- Language: JavaScript
- Homepage: http://gsf.github.com/pairtree.js
- Size: 125 KB
- Stars: 9
- Watchers: 3
- 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/PairTreeINSTALL
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.