nspc
simplest namespace generator
Installation
$ npm install nspc
API
nspc(namespace: string, [ root: object ]): object
Examples
create a nested namespace object
const nspc = ; const Collections = ;const System = ; assert;
with root object
const nspc = ;const target = {}; const Collections = ; assert;
global namespace
const nspc = ; const Collections = ; assert;
License
MIT