Skip to main content

All Questions

Tagged with
9 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
56 views

Fetching data from endpoint, retrieving coordinates, then merging into an output

I'm in no way a skilled developer (or even a developer at that!) but I did want to take a go at writing a script that fetched one endpoint's data, extracted some data, sent if off to be geocoded, then ...
markb's user avatar
  • 171
4 votes
0 answers
887 views

Node JS | From Excel to Json

Intro -> I have to convert an excel file, which comes usually in this way: to a Json file that must looks like this: ...
Matteo's user avatar
  • 41
3 votes
0 answers
204 views

Fetch JSON from several URLs

The exercise is Write a JavaScript package that is able to: fetch an array of URLs which contain JSON data return their contents in a promise I have already made a solution to this exercise, but I ...
Zubair97's user avatar
3 votes
0 answers
200 views

JSON flattening with object duplication on array property for CSV generation

I am looking for a way to transform JSON data into a flat "csv-like" data object. In some way, I am looking to "sqlirize" a mongodb collection. I have already check some json flat libraries in NPM ...
Alfredo's user avatar
  • 31
3 votes
0 answers
32 views

Testing whether pages can be fetched from two ports

I have an endpoint in my API which does a port test on 4455 and 4456 once a client GET's it. This is accomplished by requesting two web pages. The result will respond to the client with a JSON object: ...
Harvey's user avatar
  • 131
2 votes
0 answers
38 views

Redact specific elements from JSON (for logging)

We need to implement a simple redaction function to redact (set to undefined) certain JSON elements when logging the JSON. The requirements are: We can't modify the current JSON object, as that ...
lincolnadym's user avatar
2 votes
0 answers
66 views

Cache for slow API

I work with an API which answers really slowly. I created a module which constantly asks the API and update some cached value. The code is degraded for study purposes: ...
kharandziuk's user avatar
2 votes
0 answers
98 views

Extracting data for a tag cloud using Lazy.js

I've just started using Lazy.js, which is my first exposure to a "functional style" javascript library. I'm still utterly lost as to which of the hundred different functional javascript libraries to ...
Toadfish's user avatar
  • 295
2 votes
0 answers
457 views

Optimizing D3 Stream Graph Code

I have two javascript functions that generate a D3 Stream graph. I feel I may be excessively and unnecessarily iterating over my dataset to get it into the desired form. How might I optimize or ...
Colin's user avatar
  • 121