line-replace
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "line-replace", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Replace a line in a file with passed string.", | ||
@@ -5,0 +5,0 @@ "main": "src/line-replace.js", |
# line-replace | ||
Replace a line in a file with passed string. | ||
[![Build Status](https://travis-ci.org/codealchemist/line-replace.svg?branch=master)](https://travis-ci.org/codealchemist/line-replace) | ||
## Install | ||
@@ -35,9 +37,4 @@ | ||
addNewLine: true, | ||
onReplace | ||
callback: ({file, line, text, replacedText}) => {} | ||
}) | ||
function onReplace({file, line, text, replacedText}) { | ||
} | ||
``` | ||
@@ -65,3 +62,3 @@ | ||
addNewLine: false, | ||
onReplace | ||
callback: ({file, line, text, replacedText}) => {} | ||
}) | ||
@@ -68,0 +65,0 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10611
76