remove-match
Find all the lines that match a given entry
Features
- Parse text with chords
Usage
const remover = require('remove-match');
remover.findMatch('file.txt', 'This Line');
OR
npm i -g remove-match
# Save the lines without the matched entry
remove-match -f file.txt -m 'This Line' -o output.txt
Install
npm install --save remove-match
Scripts
-
npm run build :
rm -rf dist && tsc
-
npm run test :
mocha ./dist/test/*.js
Dependencies
Package | Version | Dev |
---|---|---|
args-finder | 0.0.3 | |
commander | ^2.15.1 | |
great-logs | 0.0.4 | |
minimist | ^1.2.0 | |
replace | ^1.0.0 | |
shelljs | ^0.8.2 | |
@types/chai | ^4.1.3 | |
@types/mocha | ^5.2.0 | |
@types/node | ^10.0.2 | |
chai | ^4.1.2 | |
mocha | ^5.1.1 |
Contributing
Contributions welcome; Please submit all pull requests against the master branch. If your pull request contains TypeScript patches or features, you should include relevant unit tests. Please check the Contributing Guidelines for more details. Thanks!
Author
Wendly Saintil wendlysaintil@gmail.com tsm.author.url