Store domain data in a tree structure
npm install domain-tree
const {DomainNames} = require('domain-tree')
let tree = new DomainNames()
tree.addDomain('me.whatever.com', { dev: true })
tree.addDomain('them.whatever.com', { dev: false })
console.log( tree.toString() )
Matt Hoyle - [email protected]