1.0.1 • Published 9 years ago

strip-ng-log v1.0.1

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
9 years ago

strip-ng-log

Strip angular js $log statements from javascript code.

Inspired by strip-debug

Install

npm install --save strip-ng-log

Usage

var stripNgLog = require('strip-ng-log');

stripNgLog('angular.module("MyModule").run(function($log) {$log.log("Log message");});').toString();

License

Apache 2.0 License © Nicholas Daley