namespac
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Namespac

A namespace library for javascript.

Import

import { namespac } from "namespac"

Usage

namespac("a.b")
namespac("c.d.e.f")
console.log(a) // {b:{}}
console.log(c.d) // {e: { f:{} } }

Install Choices

License

(The MIT License)

MIT License

Package Sidebar

Install

npm i namespac

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

4.58 kB

Total Files

8

Last publish

Collaborators

  • alfmo