1.1.2 • Published 4 years ago

@uppercod/index-tree v1.1.2

Weekly downloads
-
License
ISC
Repository
github
Last release
4 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

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago