GitShow/sindresorhus/load-json-file
sindresorhus

load-json-file

Read and parse a JSON file

by sindresorhus
Star on GitHubForknpm

JavaScript

249 stars48 forks15 contributorsQuiet · 3y agoSince 2015v7.0.1MIT

Meet the team

See all 15 on GitHub →
sindresorhus
sindresorhus31 contributions
coreyfarrell
coreyfarrell2 contributions
Richienb
Richienb2 contributions
anfedorov
anfedorov1 contribution
arthurvr
arthurvr1 contribution
DenisCarriere
DenisCarriere1 contribution
BendingBender
BendingBender1 contribution
LinusU
LinusU1 contribution

Languages

View on GitHub →
JavaScript77.9%
TypeScript22.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

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

Recent fixes

View closed PRs →
vikiboss
fix(comment): remove extra back quoteMergedPR
vikiboss · 3y ago
micahblu
Error: ENOENT: no such file or directory, open '. /file.json'ClosedIssue

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
fisker
Remove link to `strip-bom`MergedPR

Copied from .

fisker · 4y ago
Structured data for AI agents

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

·@ofershap

Replace github.com with gitshow.dev