Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

readfileline

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

readfileline - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

2

lib/readfileline.js

@@ -90,3 +90,3 @@ "use strict";

lineNum++;
lineCB.call(rfl,lineNum,lineData);
lineCB.call(rfl,lineData,lineNum);
});

@@ -93,0 +93,0 @@ rfl.on('error',function(err){

{
"name": "readfileline",
"version": "2.0.1",
"version": "2.0.2",
"description": "read file line by line",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -5,7 +5,5 @@ # ReadFileLine

[![Build Status](https://travis-ci.org/zenboss/readfileline.svg?branch=master)](https://travis-ci.org/zenboss/readfileline)
[![Build Status](https://travis-ci.org/zenboss/readfileline.svg?branch=master)](https://travis-ci.org/zenboss/readfileline) [![Build status](https://ci.appveyor.com/api/projects/status/ptyb3ttjqvdfyui1?svg=true)](https://ci.appveyor.com/project/zenboss/readfileline)
[![Build status](https://ci.appveyor.com/api/projects/status/ptyb3ttjqvdfyui1?svg=true)](https://ci.appveyor.com/project/zenboss/readfileline)
# Install

@@ -12,0 +10,0 @@ >$ npm install readfileline -g

@@ -9,3 +9,3 @@ "use strict";

var fileContent = [];
fl(__dirname+'/data.txt',function(lineNum,lineData){
fl(__dirname+'/data.txt',function(lineData,lineNum){
fileContent.push(lineData);

@@ -21,2 +21,3 @@ },function(err,eventType,lineNum){

fl(__dirname+'/nofile.txt',function(lineNum,lineData){

@@ -23,0 +24,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc