0.2.0 • Published 6 years ago
ts-tree v0.2.0
TS-Tree
TS-Tree is a tiny tree data structure written in Typescript.
Installation
$ npm install --save ts-tree
Usage
Javascript
const Tree = require('ts-tree').Tree;
Typescript
import { Tree } from 'ts-tree';
Note: for this to work, the tsc option --moduleResolution
must be set to Node
(see https://github.com/Microsoft/TypeScript/issues/7984 for more details).