shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
readJsonSync
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.fs
This function allows you to read a json file
Params
- path*-String
The json file path to read
Return
- -Object
The readed json
Example
import { readJsonSync } from '@blackbyte/sugar/fs';
readJsonSync('my-cool-json/file.json');Todo
- testsnormal
Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space