
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
uncomment-it
Advanced tools
Uncomment html, js or css
NOTE: This is using regex and therefore is pretty fragile. Created for simplicity and perf reasons. Read more at https://github.com/sindresorhus/comment-regex/issues/1.
HINT: In order to make it work properly adjust some space around the comments might help.
$ npm install --save uncomment-it
var uncommentIt = require('uncomment-it');
uncommentIt('<!--<div>a div</div>-->', 'html');
//=> <div>a div</div>
uncommentIt('// var test = \'test\'', 'js');
//=> var test = 'test'
uncommentIt('/*body {background: blue}*/', 'css');
//=> body {background: blue}
$ npm install --global uncomment-it
$ uncomment-it --help
Usage
uncomment-it <input-path> <type>
uncomment-it <input-path> <type> <output-path>
cat <input-path> | uncomment-it <type>
Example
uncomment-it index.html html
uncomment-it index.js js uncommented.html
cat index.css | uncomment-its css
cat index.html | uncomment-it html > uncommented.html
Options
-v, --verbose Verbose output
MIT © Steve Mao
FAQs
Uncomment html, js or css
We found that uncomment-it demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.