Nestd
Recursive file operations toolkit.
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