Tips & Tutorials

Delete Files & Folders In NodeJS – Simple Examples

Welcome to a quick tutorial on how to delete files and folders in NodeJS. Need to remove some old or temporary files in Node? To delete files in NodeJS, we can use the unlink function. const fs = require(“fs”) fs.unlink(“PATH/FILE”, (error) => {}) fs.unlinkSync(“PATH/FILE”) To delete (empty) folders in NodeJS, we can use the rmdir …

Delete Files & Folders In NodeJS – Simple Examples Read More »

ABBR vs DFN vs ACRONYM In HTML – Quick Examples

Welcome to a quick tutorial on how to use the <abbr>, <dfn>, and <acronym> HTML tags. With the introduction of HTML5, there have been additions and changes to quite a number of “confusing” semantic tags. In particular, we will address abbreviation, definition, and acronym in this guide: The  HTML <abbr> tag is used to denote …

ABBR vs DFN vs ACRONYM In HTML – Quick Examples Read More »