tree-node-js

0.0.1 • Public • Published

Tree Node

A tree node structure

Install

$ npm install --save tree-node-js 

Usage

var Node = require("tree-node-js")
var node1 = Node(22)

API

Node(value, additional_attributes)

Name Type Description
data Any Data that the node will store
additional_attrubutes Hash A hash of additional key values you want the node to have
var Node = require("tree-node-js")
var node1 = Node(22, {visited: false})

Readme

Keywords

none

Package Sidebar

Install

npm i tree-node-js

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • joegesualdo