Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/arzyu/get-json
- Owner: arzyu
- Created: 2019-09-10T15:34:17.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-10T15:34:35.000Z (about 5 years ago)
- Last Synced: 2024-08-10T06:56:55.193Z (3 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```