Author: James Edwards
Main Content
Generate an XML Sitemap with Node.js
Use the xml npm package and TypeScript with ES Modules to generate an xml string and write it to a sitemap.xml file with Node.js.
Use the Dart Sass JavaScript Implementation to Compile SASS with Node.js
Compile a SCSS file into CSS with the sass npm package JavaScript API and command line interface provided by the Dart Sass JavaScript implementation.
Secure a Github Webhook with Node.js
Secure an Azure Node.js Severless Function HTTP endpoint to accept requests that are limited to those coming from a GitHub webhook that is triggered on closing a pull request.
Generate a Universally Unique Identifier (uuid) with Node.js
Generate a universally unique identifier with Node.js using the uuid npm package, that supports both commonJS and ECMAScript module formats.
Import and Export ES Modules in Node.js using TypeScript with Babel Compilation
Use ES Modules in Node.js without an experimental flag by configuring Babel and TypeScript to support ES Module import and export syntax.