staticerrs

1.0.0 • Public • Published

staticErrs

A simple node wrapper using jshint to find syntax error.

There are two different methods available:

  1. Pass location to the function and method will look for all the files within the location specified.

     var staticErrs = require('./lib/staticerrs.js');
    
     staticErrs('./lib/', function(err, data){
     	if(err)
     		console.log(err);
     	
     	console.log(data);
     });
    
  2. If no location passed, method will look for all the folders present in the root level.

     var staticErrs = require('./lib/staticerrs.js');
    
     staticErrs(function(err, data){
     	if(err)
     		console.log(err);
     	
     	console.log(data);
     });
    

========================================================================================

Future scope:

  1. Ability to define file types
  2. Handler to output to multiple modules for consumption of logs.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    0

Package Sidebar

Install

npm i staticerrs

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • deepaknverma