🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

implicit

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

implicit

Syntax checking helper

0.0.2
latest
Source
npm
Version published
Weekly downloads
5
400%
Maintainers
1
Weekly downloads
 
Created
Source

implicit

JavaScript Syntax Check Helper

Implicit checks your JavaScript code and reports on potential errors with the syntax of the code. These are errors that cannot be found with a linter.

For example, can you see the error in the following code?

if(Object.keys(o) === 1) {
  console.log(o);
}

It should be:

if(Object.keys(o).length === 1) {
  console.log(o);
}

Implicit will generate an error if it encounters a mistake such as this.

Implicit is not a replacement for a linter. It is an additional tool that you run to check your code. A good place to put this is in a pre-commit hook.

Install

npm install -g implicit

Usage

Run inside the root of your project:

implicit

Generate default rc and ignore files:

implicit init

Get usage help:

implicit --help

Development

If you've clone the repo and are working on changes you can install your local version of implicit by running this in the root of the implicit project folder:

npm i -g .

Now you can go to another project and run implicit to have your customized changes run against your project.

Contributing and Pull Requests

See Contributing.

Help

You can contact me on Twitter: @wildfiction

Keywords

syntax

FAQs

Package last updated on 18 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts