Recursive file operations toolkit.
- recursive file operations
- Typescript types included
- exposes esm/cjs modules
- always 100% test coverage
npm install --save nestd
or
yarn add nestd
or
pnpm --save nestd
Nestd main method replaces provided string or regex match with another text.
const Nestd = require('nestd@.0.3').Nestd;
const nestd = new Nestd();
function async run(){
await nestd.replace('some-text', 'path');
}
run();
Full API documentation for this package can be found here