node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »


NPM version Build Status Dependency Status


Import CSV files into Furkot road trip planner.


$ npm install --save furkot-import-csv


Use as a transform stream: pipe network responses, files etc. and listen on data event.

var furkotImportCsv = require('furkot-import-csv');
var request = require('getlet');
  .on('data', function(trip) {


CSV files imported by Furkot are expected to have following fields:

  • name - place name; mandatory
  • lat - latitude of the place; mandatory unless address is provided
  • lon - longitude of the place; mandatory unless address is provided
  • address - place address as comma-delimited string; mandatory unless lat and lon are provided
  • url - place url; optional
  • notes - place description up to 256 characters; optional
  • pin - icon representing the place, from the list of Furkot icons; optional
  • duration - stop duration in minutes; optional

If the first line of the imported file contains the names, fields can be in any order and only mandatory ones need to be present. In the absence of the header line with field names, fields in the file have to be exactly in the order listed above.

Any text field that contains commas (specifically the address) has to be enclosed in double- quotes, e.g. "1022 William T Morrissey Boulevard, Dorchester, MA 02122, USA".


MIT © code42day