[nodejs] Callback and dns.reverse function

2018-02-08 Thread Zakaria M
Hi All and sorry for my english. i have a function that return a dns name off an IP on console.log but my goal is to have it as variable (to push it on a page later). My function : function toto(ip){ const dns = require('dns'); dns.reverse(ip, function(err, domains) {

[nodejs] Re: Stop stream read of fast-csv node module

2018-02-08 Thread Amit Sonkar
I am facing this problem too, did you found any resolution ? On Friday, 5 August 2016 20:21:10 UTC+5:30, Raj Kumar Verma wrote: > > How i can stop reading csv rows at some particular index using fast-csv > node module? In fast-csv their is option for stream pause and resume but no > option to