Skip to content

A simple program written in NodeJS that parses a CSV file and generates a new version of that CSV file, with modified rows data based on the provided criteria.

Notifications You must be signed in to change notification settings

teodyseguin/developer-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Developer Excersise

This is a simple and small program, written in NodeJS, that solves this following problem.

  1. Sort the rows in ascending order by email address domain, then by last name.
  2. Omit rows where the State has a population of more than 10 Million people.
  3. For rows where the state capitol is Jacksonville, change the email address to '---@-.-'

Prerequisite

  1. You should have Git installed on your system.
  2. Node and Yarn installed on your system.

Steps how to run

  1. Clone this repository git@github.com:teodyseguin/developer-exercise.git.
  2. Change directory to /developer-exercise and run yarn install to download dependencies.
  3. Run the program with this command yarn run start
  4. A resulting new file should be generated. The filename is new-contacts.csv.

About

A simple program written in NodeJS that parses a CSV file and generates a new version of that CSV file, with modified rows data based on the provided criteria.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published