

There are two ways to install StandardJS. To get everything installed you need to have NodeJS installed which will give ‘npm’. This was taken directly from StandardJS website but make sure you read more for a complete list of all the rules. Prevents accidental use of poorly-named browser globals like open, length, event, and name.Always prefix browser globals with window – except document and navigator are okay.Always handle the node.js err function parameter.Always use = instead of = – but obj = null is allowed to check null || undefined.

