require-string
Turns an arbitrary String into a CommonJS compatible module.
So this:
Turns into this:
module{return ".wat {\n color: red;\n}\n\ndiv i {\n color: blue;\n}\n";};
Installation
Install with component(1):
$ component install TooTallNate/require-string
API
requireString(String str) → String
License
MIT