kc-rmcomm
v1.0.11
Published
[js] Remove comments.
Downloads
6
Readme
RMComm
[js] Remove comments.
Install
npm install kc-rmcomm
Use
var rmcomm = require('kc-rmcomm');
var str = rmcomm(`
// Comment 1
var a = 1;
/*
Multiline
comment
*/
var b = 2;
`);
console.log(str);