1.4.3 • Published 9 years ago

walc v1.4.3

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

Walc

Warning, Alert, Log, Console ect...

Removes console or alert functions in your scripts.

Install

$ npm install walc

Usage

var walc = require('walc'),
    w    = walc({
            path: './js/*.js', 
            dest: './bin/',
            methods: {alert: 'remove', console: 'comment'}
          })
w.run()

Options

  • path : String or Array. ex : "path/to/directory/*.js" or "path/to/directory/script.js" or ["path/to/directory/*.js"] or ["path/to/directory/script.js"]

  • dest : String. ex : "path/to/export/destination", default : "dest/"

  • methods : Object. console or alert for keys, and values has 3 possibilities : remove, comment or ignore (default).

Notes

This script ignores console and alert already commented.

1.4.3

9 years ago

1.4.2

9 years ago

1.4.1

9 years ago

1.4.0

9 years ago

1.3.4

9 years ago

1.3.3

9 years ago

1.3.2

9 years ago

1.3.1

9 years ago

1.3.0

9 years ago

1.2.1

9 years ago

1.2.0

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago