@epdoc/fsutil
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

epdoc/fsutil

Async File System utilities.

Clients

npm install @epdoc/fsutil
import { fsitem } from '@epdoc/fsutil';

if( fsitem('~/.ssh').isDir() ) {
  console.log('SSH is installed');
}

Developers

git clone git+https://github.com/epdoc/fsutil.git
cd fsutil
npm install
npm run build
npm test

Methods

readJson

Read a JSON file.

deepReadJson

Read a JSON file that may 'include' other JSON files.

Readme

Keywords

Package Sidebar

Install

npm i @epdoc/fsutil

Weekly Downloads

108

Version

2.0.1

License

MIT

Unpacked Size

120 kB

Total Files

23

Last publish

Collaborators

  • jpravetz