@the-/util-file

15.8.0 • Public • Published

@the-/util-file

npm Version

File utility for the-framework

Installation

$ npm install @the-/util-file --save

Usage

'use strict'

const { readAsJsonSync } = require('@the-/util-file')

async function tryExample() {
  const data = readAsJsonSync('conf/foo.json')
  console.log(data)
}

tryExample().catch((err) => console.error(err))

API Guide

See API Guide for more detail

License

This software is released under the MIT License.

Links

Readme

Keywords

Package Sidebar

Install

npm i @the-/util-file

Weekly Downloads

0

Version

15.8.0

License

MIT

Unpacked Size

91.8 kB

Total Files

42

Last publish

Collaborators

  • okunishinishi