array-to-tree

v3.3.2
Convert a plain array of nodes (with pointers to parent nodes) to a tree
array list pointer parent tree navigation nested

test

mocha --reporter nyan

tdd

npm test -- --watch

release

npm version ${BUMP:-"patch"} --no-git-tag-version && git add package.json package-lock.json && git commit -m ":octocat: Bump to $(cat package.json | json version)" && git tag $(cat package.json | json version)

release:major

BUMP=major npm run release

release:minor

BUMP=minor npm run release
npm i array-to-tree

Metadata

  • MIT
  • >=4
  • Philipp Alferov
  • released 12/7/2019

Downloads

Maintainers