Adds package.json, publishes on npm.
Adds package.json
Adds support for single-token-length strings.