1.1.2 • Published 5 years ago

@uppercod/index-tree v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

index-tree

This script allows to create index relationships, it is used by EStack to manage the dependency of printing files between documents.

install

npm install @uppercod/index-tree

example

Check test/index.test.js for the api implementation.

import createTree from "@uppercod/index-tree";

const tree = createTree();

tree.add("a");

tree.addChild("a", "b");

tree.add("b", "c");

tree.getParents("c"); // return a
1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.0

5 years ago