2.0.0 • Published 2 years ago
jsonsided v2.0.0
jsonsided
Resolves json files
Installation
npm i jsonsided
yarn add jsonsided
pnpm add jsonsided
Example
config.json
{
"hi": "hello",
"bye": "see ya later"
}
index.js
import resolve from 'jsonsided'
const config = await resolve('./config.json');
// -> { hi: 'hello', bye: 'see ya later' }