0.0.6 • Published 11 years ago

node-hint v0.0.6

Weekly downloads
2
License
-
Repository
-
Last release
11 years ago

Node Hint - a node.js wrapper for jsHint to simplify checking internal source code string variables

Installation

npm install node-hint

Usage

to check source code string with jsHint:

	var result = require(__dirname + '/../node-hint').hint(source, name, options, logger);
	

where

source is a string of javascript source code
name is a name to associate with the code (not required)
options is a set of options (not required)
logger is a logger (defaults to console.log)
	

Default Options

  • report: - oneErrorPerLine: true - extendedReport: false
  • jsHint: standard options (and too many to list here) - see /lib/jshint.js for more info

Requirements

  • node.js

Acknowledgements

JSHint developed by JSHint Community.

License

MIT-License, see LICENSE.txt.

Roadmap

  • expand reporting / return options
0.0.6

11 years ago

0.0.5

12 years ago

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago