kc-rmcomm

1.0.11 • Public • Published

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);

Readme

Keywords

Package Sidebar

Install

npm i kc-rmcomm

Weekly Downloads

0

Version

1.0.11

License

ISC

Unpacked Size

2.01 kB

Total Files

5

Last publish

Collaborators

  • kaisarcode