Skip to content

deployable/node-domain-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

domain-tree

Store domain data in a tree structure

Build status

Install

npm install domain-tree

Usage

const {DomainNames} = require('domain-tree')

let tree = new DomainNames()
tree.addDomain('me.whatever.com', { dev: true })
tree.addDomain('them.whatever.com', { dev: false })
tree.addDomain('other.com', { other: true })
console.log( tree )
console.log( tree.toJSON() )

Matt Hoyle - [email protected]

About

Domain tree data structure

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published