@bevry/jsonfile
v1.3.0
Published
Read/Parse/Write a JSON file in Node.js, Deno, ESM, and CJS.
Downloads
118
Maintainers
Readme
Read/Parse/Write a JSON file in Node.js, Deno, ESM, and CJS.
Usage
Read a JSON file
import readJSON from '@bevry/jsonfile'
readJSON('some/json-file.json')
.then(console.log)
.catch((err) => throw err)
Write a JSON file
import { writeJSON } from '@bevry/jsonfile'
writeJSON('some/json-file.json', {some: 'data'})
.then(() => console.log('done'))
.catch((err) => throw err)
npm
Discover the release history by heading on over to the HISTORY.md file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Discover how you can contribute by heading on over to the CONTRIBUTING.md file.
Unless stated otherwise all works are:
and licensed under: