drop-comments
v1.0.4
Published
remove comments from file/string
Readme
drop-comments
Remove comments from string
Installation
npm install drop-commentsUseage
var DC = require('drop-comments');
DC('// comments\nvar a = 1;', type)Options
type:
- first
- block
- line
If not set, the default is all
Demo
node ./demo/runthis.jsThanks extract-comments
