https://github.com/deptno/node.replacer
string & regexp support, user can modify six variables.
https://github.com/deptno/node.replacer
Last synced: 8 months ago
JSON representation
string & regexp support, user can modify six variables.
- Host: GitHub
- URL: https://github.com/deptno/node.replacer
- Owner: deptno
- Created: 2014-08-31T16:48:34.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-12T04:58:35.000Z (about 11 years ago)
- Last Synced: 2024-12-31T13:46:13.182Z (9 months ago)
- Size: 152 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
* node.replacer
* description
* support file & directory recursively* user can modify 6 variables
* pattern: string or regexp object
* keepOriginalString: boolean, keep searched string by pattern
* replacePrefix: string, prefix-searched string
* replacePostfix: string, searched string-postfix
* excludeDir: string array, node.replacer will skip these recursively
* includeExt: string array, format like "['.ts', '.js']"
* bufferSize: number, read buffer size, if one file exceed bufferSize, will throw error* todo
* support node.replacer.json that array contains 6 variables
* support source, target directory
* keep just "node.replacer" only file
* test functionality for not changing files, just only watching grep pattern correctly
* user can set node.replacer end condition, it is hardcoded now
* READEME need to check english is correct* last modified README file
* 2014-09-01 02:04:39