Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/arzyu/get-json

Read json from file in Node.js
https://github.com/arzyu/get-json

Last synced: 6 days ago
JSON representation

Read json from file in Node.js

Awesome Lists containing this project

README

        

# get-json

## Installation

```shell
npm add @arzyu/get-json
```

## Usage

```js
import { getJson } from "@arzyu/get-json";

console.log(getJson("/path/to/file.json")); // read json file into object
```