Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26608
     XavierForde
    Participant

    Problem was I needed to require the lodash library to perform mapping. The following code solved the problem:

    var _ = require('lib/lodash');
     _.map(source.split(";"), function(address) { return JSON.parse(address) });
Viewing 1 post (of 1 total)