Articles tagged in: Node.js

Node.js — Securely Parse JSON

Node.js provides a global JSON object providing methods to parse a JSON string to JavaScript or stringify JavaScript values to a JSON string. The problem is that JavaScript’s global JSON object comes with a flaw allowing prototype pollution attacks. This tutorials shows you how to securely parse JSON …

Continue Reading

Node.js — Read a JSON File

JSON (JavaScript Object Notation) is a data format used across applications to share data. The applications can use different languages and they are able to share information using the JSON format. Node.js and NPM use a JSON file storing configuration details: the package.json file. Besides the package.json …

Continue Reading
Page 1 of 35

Explore the Library

Find interesting tutorials and solutions for your problems.