1.2.3 • Published 5 years ago

@wrote/wrote v1.2.3

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

@wrote/wrote

npm version

@wrote/wrote is The Collection Of The Methods To Work With The Filesystem.

yarn add -E @wrote/wrote

Table Of Contents

API

The package is available by importing its named functions:

import {
  read, write, rm, ensurePath, readDirStructure,
  readBuffer, exists,
} from '@wrote/wrote'

Packages

These packages are included in the meta-library.

MethodDescriptionPackage
writeWrites a file.@wrote/write
readReads a file.@wrote/read
readBufferReads a file as a buffer.@wrote/read
ensurePathCreates all directories on the way to the path.@wrote/ensure-path
rmRemoves a file or directory.@wrote/rm
readDirStructureReads a directory structure.@wrote/rm
existsChecks if a file or directory exists and returns instance of Stats.@wrote/exists

Copyright