thefill / nestd

Recursive file operations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:TypeScript 56.5%Language:HTML 43.5%