$ gnpm install @wrote/wrote
@wrote/wrote is The Collection Of The Methods To Work With The Filesystem.
yarn add -E @wrote/wrote
The package is available by importing its named functions:
import {
  read, write, rm, ensurePath, readDirStructure,
  readBuffer, exists,
} from '@wrote/wrote'
These packages are included in the meta-library.
| Method | Description | Package | 
|---|---|---|
write | 
Writes a file. | @wrote/write | 
read | 
Reads a file. | @wrote/read | 
readBuffer | 
Reads a file as a buffer. | @wrote/read | 
ensurePath | 
Creates all directories on the way to the path. | @wrote/ensure-path | 
rm | 
Removes a file or directory. | @wrote/rm | 
readDirStructure | 
Reads a directory structure. | @wrote/rm | 
exists | 
Checks if a file or directory exists and returns instance of Stats. | @wrote/exists | 
      
         
      
     | 
    © Art Deco for Wrote 2019 | 
      
         | 
    
      
         
      
     | 
    Tech Nation Visa Sucks | 
|---|
Copyright 2013 - present © cnpmjs.org | Home |