New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

code-cleaner

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

code-cleaner

This package allows you to clean all your code from consoles, comments with specifying directories or files to clean

latest
Source
npmnpm
Version
1.2.2
Version published
Maintainers
1
Created
Source

code-cleaner

https://www.npmjs.com/package/code-cleaner

Clean code files on the go with this simple command.

Requirements

  • node 8+
  • npm 5.3.0

Installation

$ npm install -g code-cleaner

Usage

This component will work well with files of the following extensions

  • html
  • xhtml
  • xml
  • css
  • scss
  • less
  • js
  • jsx
  • ts
  • vue
  • java

if you want to perform cleaning on file

$ code-cleaner <file_with_its_path>

If you want to clean files in a directory at once

$ cd <directory>
$ code-cleaner .

Todo

Open for contribution/pull request

  • Include more types of files to clean e.g. (.py, .bash, .scala)

FAQs

Package last updated on 09 Jun 2020

Did you know?

Socket

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.

Install

Related posts