Start free

Browse › Node.js - Access and Process Data

Access File Data by Using Node.js

Guided

Part of Node.js - Access and Process Data Topic: Programming

Access

StationX Infrastructure Labs — 3 attempts per lab

🔒 Add StationX Infrastructure Labs — $149 / year · 3 attempts per lab

Already have access? Sign in.

New to this? Try a free practice lab — a scripted hacking challenge in your browser, no account needed.

What you'll do

In this lab you will write code to read a JSON file containing a customer record into an object, and then return the object representing the customer.

  1. Write code that will read a file with multiple lines each representing a product record, then clean each line, then convert each line into an object, and then return an array of the objects representing the products
  2. Process multiple comma-separated values (CSV) files that contain transaction data, filter the data, sort the data, slice the data, and return an array with all remaining transactions

Note: Once you begin the lab, you will not be able to pause, save, or exit and then return to your lab. Please ensure that you have set aside enough time to complete the lab before you start.

  • ⏱ About 30 minutes