Oprea.Rocks Logo

Get updates on new articles, and other opportunities

Articles published under the JavaScript category

How to test Node.js modules installed from NPM locally

I'm surprised by the number of people who think you can install modules from npm only in your project's folder, and only if you have . This is why I decided to create a short video describing my way of testing modules from NPM before bringing them into my application, without having to wait for…

How to get the real type of any JavaScript variable

This weekend I published a short article talking about how to create a CSV using template strings in Node.js . I posted the link on Reddit and a couple of more places and the general feedback was something along the lines of "great article but the most interesting part is that type checking thing…

How to create a CSV using template strings in Node.js

I recently had to create a CSV from some data returned by the Jira API. Went on the Internets to find a module on NPM that would do the job. Unfortunately, I wasn't able to find a single module that would perform only that simple task. We were already using a module to generate Excel exports, inside…