0.0.2 • Published 4 years ago

no-comments v0.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

remove-comments

Remove line comments from languages that have single and double quote strings

Usage


note that this library is not bundled, since most web-based projects today do their own bundling (react, vue ETC).


import { removeComments } from 'remove-comments';

const withoutComments = removeComments('// this is a comment\npublic static void main() {}');
0.0.2

4 years ago

0.0.1

4 years ago