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

  1. path*-String

    The json file path to read

Return

  1. -Object

    The readed json

Example

import { readJsonSync } from '@blackbyte/sugar/fs';
readJsonSync('my-cool-json/file.json');

Todo

  • testsnormal