1.0.5 • Published 7 years ago
tree_node v1.0.5
Synopsis
- Reads and parses a ‘tree_nodes-csv’ file (lib(repository/tree_nodes.js))
- Works as a cmd-line tool and prints its results to STDOUT
- Calculate the complete path for a given node by the user (e.g. “lemon” should result in “/fruit/sour/citrus/lemon”)
- Calculates and shows which nodes have exactly two children?
- Calculates and shows which actual fruits are in the tree file? (i.e. all nodes below “fruit” without children
Motivation
Fashion Id Excercice Task.
Installation
npm install
Tests
sudo npm install -g gulp gulp test
Run
node bin/tree_node.js
License
ISC