Tag: Node.js
Main Content
Convert Markdown to HTML with Node.js
Convert a Markdown file into HTML, with code block syntax highlighting, using Node.js and asynchronously write the HTML string to a file.
Convert JSON to XML with the XML npm package
Read a JSON file with Node.js and use the XML npm package with TypeScript to convert JSON to an XML string and write the XML string to a file.
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.