conditional-file-append

1.0.0 • Public • Published

Conditional File Append

Append text to a file on the condition that a regex isn't matched.

Usage

condappend ^regex ./path/to/myfile 'my string'

If ^regex isn't present then 'my string' will be appended to myfile.

Readme

Keywords

Package Sidebar

Install

npm i conditional-file-append

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • ashiguruma