resolve-json
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

resolve-json

A simple function that resolves json files.

Example

Project Structure

config.json

{
    "configstuff": "here"
}

index.js

import resolve from 'resolve-json';

const config = await resolve('./config.json')
// const config = { "configstuff": "here" }

Usage

import resolve from 'json-resolve'
// ...
resolve(path)

Readme

Keywords

Package Sidebar

Install

npm i resolve-json

Weekly Downloads

1

Version

3.0.1

License

GNU General Public License v3.0

Unpacked Size

129 kB

Total Files

7

Last publish

Collaborators

  • upsided