Search
Debugging Javascript
Tips and tricks for developing javascript code.
JS will execute when loaded in the browser or called via node. When...
Parse composer.json file
Use a composer.json file from a Drupal project to check which modules are installed.
Since it's a json file, we can just...
Set Up NextJS And Web-Ext
We'll use NextJS to render the extension UI.
- Create a new nextjs project.
npx create-next-app@latest
- *Nextjs sets up a .git...
Typescript
Typescript makes Javascript strongly typed, for writing code that is more maintainable and fewer bugs. By declaring the...
Modules - Theory
Explanation of js module concepts for Typescript.
The ECMAScript specification defines how ESM imports and exports link...
Cascading Styles
We can apply CSS to a specific element by targeting it with a unique selector.
We can also apply styles broadly that are...
PostCSS configuration examples often show common js code with module.exports
.
module.exports = { plugins: [ require(...
PostCSS
PostCSS processes your css code and outputs it with configurable enhancements.
Usually PostCSS is used with a front end...