sindresorhus

load-json-file

Read and parse a JSON file

by sindresorhus

JavaScript

JavaScript77.9%
TypeScript22.1%

Commit activity

Last 12 weeks · 1 commit

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template
micahblu

It cannot seem to find the files which are there. I was able to require the file I needed as js with the same exact path save for the extension. To be sure the issue was not caused by a file path typo I did the following: Then in the importing file in the same directory: which produced the error:

micahblu · 3y ago
Structured data for AI agents

Repository: sindresorhus/load-json-file. Description: Read and parse a JSON file Stars: 250, Forks: 47. Primary language: JavaScript. Languages: JavaScript (77.9%), TypeScript (22.1%). License: MIT. Latest release: v7.0.1 (5y ago). Open PRs: 0, open issues: 0. Last activity: 1mo ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, Richienb, anfedorov, arthurvr, DenisCarriere, BendingBender, LinusU, realityking, SamVerschueren and others.