1.1.2 • Published 7 years ago

replacer-content v1.1.2

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

Replacer of Content

Installation

npm i replacer-content

Usage

const replacerContent = require('replacer-content');
const replaced_files = replacerContent({
  files: 'dir/folder/path/',
  from: /foo/g,
  to: 'bar',
  ignore: ["**/node_modules/**"]
  not_write: true
});

returned

[{
	path: 'test.txt', 
	found: 'foo1', 
	line: 2 
}]
1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago