Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "readline", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "simple streaming readline module", | ||
@@ -5,0 +5,0 @@ "main": "readline.js", |
@@ -5,2 +5,3 @@ var fs = require('fs'); | ||
function readLine (file, opts){ | ||
@@ -14,4 +15,3 @@ | ||
var readStream = fs.createReadStream(file); | ||
var nlChar = (opts["nlChar"]) ? opts["nlChar"] : "\n"; | ||
var nl = nlChar.charCodeAt(0); | ||
var nl = require('os').EOL.charCodeAt(0); | ||
var line = []; | ||
@@ -18,0 +18,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
1954275
77