All Questions
16 questions
1
vote
1
answer
617
views
Parse proxy strings to array of objects
The goal of this module is to take in a string (user input, someone copy and pasting a large list of proxies) and parse it into an array of objects.
I appreciate any and all feedback, but I'm ...
7
votes
3
answers
260
views
parse date and number from API results
I'm slurping up fields from an API that returns an array of fields. Each field in the array is a String that actually contains two separate fields (a number and a date). The number is enclosed in ...
2
votes
2
answers
73
views
String data manipulated given CSV variables
The Requirements:
List the expensable items sorted by date and location given two variables: 'categories' and 'expenses'. The Categories variable provides the following information in order: Category ...
4
votes
1
answer
167
views
JSON to CSS in JavaScript
I'm working on a JSON to CSS converter in NodeJS, which takes a .json file and generates a .css file with its utility classes from it.
.json example
...
6
votes
1
answer
203
views
NodeJs crawler for recipes
Here is my try on a crawler made in nodeJs with cheerio, I made it with the idea in mind to use it in a future project I wanna make. Here is the git link: https://github.com/Just4lol/CookCrawler
If ...
0
votes
1
answer
340
views
Nodejs Interview - API calls and exchange rate
I did an initial technical phone screening with this company which went ok, they then sent me a programming exercise to complete and send back to them.
The goal of the exercise:
-take input as a ...
1
vote
1
answer
35
views
Scan a list of assigns in nodejs
My starting point is a file like so:
...
2
votes
1
answer
389
views
Simple state machine based command-line argument parser
I'm in the process of learning to write idiomatic JavaScript code so naturally I'm parsing command line arguments.
My approach to this is to have a simple state machine. The parser should work as ...
1
vote
1
answer
2k
views
Math expression parser in JavaScript
I've written the second iteration of my math expression parser, utilising what I learned from the first attempt to make a more reliable, maintainable piece of code.
If anybody wants to see the first ...
3
votes
0
answers
5k
views
Calculator in Node.JS
I'm new to parsing, and there's only one way to learn anything, and that's to do it yourself. So I did. I wrote what is essentially a calculator. But instead you will send it a string and it will be ...
2
votes
2
answers
4k
views
Parsing a CSV file in node.js and express.js
I want to import a CSV file and do some operation on it.
The following is the code I'm using and it is working fine:
...
5
votes
1
answer
1k
views
RSS parser for Node.JS
I would like someone to review this code and tell if it can be done better, or if the code is elegant and simple enough for the task at hand.
I used code climate and I got 4/4 and my test coverage is ...
1
vote
2
answers
1k
views
Parsing sentences to create a chat bot
I am developing a chat bot with Node.Js. I am trying to find efficient way to parsing sentence.
...
24
votes
3
answers
8k
views
Converting an IP
I've written a DNS tool in Node and would like to know if there's a better and more efficient way of handling the conversion from an IP to a long. I'm not too good at bitwise just yet and would like ...
0
votes
2
answers
2k
views
node.js library for extracting words from a text
I'm looking for feedback on my library for extracting words from a text: https://npmjs.org/package/uwords
The extracted word is defined as sequence of Unicode characters from Lu, Ll, Lt, Lm, Lo ...