string-to-comments
v0.1.2
Published
Parse string and convert to comments string
Downloads
25
Readme
String to Comments
Pretty straightforward script. All this does is convert strings to comments.
Usage (with CommonJS module system)
var s2c = require('string-to-comments');
// Output:
// /**
// * HEYA!
// */
s2c.convert('HEYA!');
// Output: // HEYA!
s2c.convert('HEYA!', true);
Usage (no module system)
s2c will be exposed to the global namespace.