NodeJS
-
Five Year Anniversary of the Gutenberg Nightly

Yesterday, I celebrated a quiet 5-year anniversary of the Gutenberg Nightly. The first version was released on October 15, 2020. The Gutenberg Nightly is a almost-daily plugin build from Gutenberg repository trunk branch. Here I explain, who would want to use it, and why, especially on the eve of major core releases, it might be helpful This download page is for people who would like to alpha/beta test Gutenberg, but A friend of mine asked me, “Every two weeks is not fast enough for you”? On October 19, 2020, there…
-
Automating WordPress Playground Screenshots with Node.js and Playwright

Users of the WordPress Theme directory can navigate block themes with Style Variations and see how they change the look at feel of a layout. The theme powering the WordPress repository uses WordPress Playground to load a site with the theme and its style variation and then takes a screenhost via the mshots API. The screenshots are stored on the server and make it possible to load style variations rapidly via the WordPress theme repository’s site. Now mshots API, built and used by Automattic, is publically available. However it’s mostly…
-
Difference between npm and npx

The npm stands for Node Package Manager and itis the default package manager for Node.js. It is written entirely in JavaScript, developed by Isaac Z. Schlueter, it was initially released on January 12, 2010. The npm manages all the packages and modules for node.js and consists of command–line client npm. It gets installed into the system with the installation of node.js. The required packages and modules in the Node project are installed using npm. A package contains all the files needed for a module and modules are the JavaScript libraries that can be included in the Node project according to the requirement of…