initial npm package definition.
Adding tests.
Namespace option.