Requiring a JSON file

A common use of require is to load a JSON file.

Was this page helpful?