JamieMason/self-help

View on GitHub
src/lib/json.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { readJsonSync, ReadOptions } from 'fs-extra';
import { resolve } from 'path';

export const readJsonPathSync = (from: string, to: string, options?: ReadOptions) =>
  readJsonSync(resolve(from, to), options);