Skip to content

epdoc/fsutil

Repository files navigation

epdoc/fsutil

Async File System utilities.

Clients

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

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

Developers

npm install
npm run build
npm test

Methods

readJson

Read a JSON file.

deepReadJson

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

About

File System utilities with a cleaner code interface

Resources

Stars

Watchers

Forks

Packages

No packages published