Blog.

Cover Image for How to fetch XML with Fetch API
parse-xml

How to fetch XML with Fetch API

Currently, Fetch API doesn't support fetching XML natively (so no native XML parser), but there are workarounds.

Cover Image for Node.js - Error: Cannot find module '<module name>'
nodejs

Node.js - Error: Cannot find module '<module name>'

In this article you will understand more about nodejs error: cannot find module <module-name>

Cover Image for Parse XML with cheerio and Nodejs
xml

Parse XML with cheerio and Nodejs

Cheerio can parse "almost any HTML / XML document" as they market themselves. Parsing XML is pretty straightforward, all you need to do is set xmlMode: true on cheerio.load method.

Cover Image for How to write a file in Node
file-system

How to write a file in Node

Using the native fs module, you can write content to a file, read and more.

Cover Image for How to delete a branch in Git
git

How to delete a branch in Git

Deleting a branch in git is done either by running git branch -d <branch-name> in case of local branch or...

Cover Image for How to remove the last character from string in Javascript
string

How to remove the last character from string in Javascript

Using slice() The easiest way to remove the last character of a string in JavaScript is by using slice method

Cover Image for How to create a DELETE request with axios
axios

How to create a DELETE request with axios

The easiest way to create a DELETE request with Axios is by using axios.delete method. This method accepts two parameters.

Cover Image for How to loop in React's JSX
react

How to loop in React's JSX

The easiest way to loop over an array in React JSX is by using the native map function