zaach / jsonlint

A JSON parser and validator with a CLI.
http://zaach.github.com/jsonlint/
1.93k stars 417 forks source link

Adds flag to prevent fs from attempting to load in browser #115

Open JrPribs opened 6 years ago

JrPribs commented 6 years ago

This fixes issue with angular compilation (because of inability to edit webpack config) when this package is being used. This flag has no negative effect on the package itself, and allows it to be readily compatible with webpack or other bundlers