Skip to content

thefill/nestd

Repository files navigation

Nestd

Recursive file operations toolkit.

Codacy quality Coverage Greenkeeper badge CricleCi badge

npm version Open issues Types: TypeScript License: MIT

Main features

  • recursive file operations
  • Typescript types included
  • exposes esm/cjs modules
  • always 100% test coverage

Guide

Installation

npm install --save nestd

or

yarn add nestd

or

pnpm --save nestd

Basic usage

Nestd main method replaces provided string or regex match with another text.

Replace string or regex match with another string in all files below path

const Nestd = require('nestd@.0.3').Nestd;
const nestd = new Nestd();

function async run(){
    await nestd.replace('some-text', 'path');
}
run();

Documentation

Full API documentation for this package can be found here

About

Recursive file operations

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published