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