External import maps, today! • Lea Verou

A few weeks ago, I posted lamenting the current state of web dependencies. Turns out that external import maps — the lack of which I had identified as a core limitation — can be emulated today!

Web dependencies are broken. Can we fix them? • Lea Verou

Dear JS ecosystem, I love you, but you have a dependency management problem when it comes to the Web, and the time has come for an intervention.

seems I somehow got #MicroHs #Haskell interpreter compiled and working in a browser using #Emscripten #WebDev

used a require.js I found online (from Tarp https://pixelsvsbytes.com/2013/02/js-require-for-browsers-better-faster-stronger/ ) and slighly patched for my use case / url layout, and some minimal #NodeModules folder (npm install --save path) with custom symlinks inside to choose the browser js.

the HTML from Emscripten is patched lightly to add the require script and a couple of require() calls. the standard library is included with preload file; the total size of the served folder is about 3.5MB.

the usability is terrible (have to enter input in a modal form with no history or completion etc, output goes to browser console) but it's a start!

🚀🧙‍♂️ Behold, the wizardry of Node module hooks! Immaculata claims to have concocted a magic potion for fast development, yet it's really just a concoction of #buzzwords and orthogonal blah-blah. Brace yourself for a ride into the land where JSX is yanked from React, because who needs simplicity when you can have chaos? 🙃✨
https://immaculata.dev/blog/hacking-nodejs-modules.html #NodeModules #Chaos #FastDevelopment #ReactJSX #HackerNews #ngated
Immaculata.dev - (ab?)using Node module hooks to speed up development

#Development #Launches
Node Modules Inspector · Visualize node_modules and inspect dependencies https://ilo.im/162mfz

_____
#Inspector #NodeJS #NodeModules #Dependencies #JavaScript #Npm #OpenSource #WebDev #Backend

Node Modules Inspector

Visualize your node_modules, inspect dependencies, and more.

A couple of useful tools for the #NodeJS¹ folks out there working on longer-term projects:

• npm-check-updates (ncu) is a tool that will help you keep your dependencies updated: https://www.npmjs.com/package/npm-check-updates

https://knip.dev/explanations/comparison-and-migration/#unimported (successor to unimported, now that’s deprecated) will help you find unused files and dependencies.

¹ Kitten (https://codeberg.org/kitten/app) uses Node.js as its runtime.

#NodeJS #ncu #npmCheckUpdates #knip #unimported #packageManagement #npm #node #modules #nodeModules

npm-check-updates

Find newer versions of dependencies than what your package.json allows. Latest version: 18.3.0, last published: 6 days ago. Start using npm-check-updates in your project by running `npm i npm-check-updates`. There are 594 other projects in the npm registry using npm-check-updates.

npm

Released a new major version of my npm engine range validator – now also supports peerDependency range validation and supports running on workspaces.

To ensure you don’t promise more than your dependencies can deliver, start using “installed-check” 9.0.0 now: https://github.com/voxpelli/node-installed-check/releases/tag/v9.0.0

#npmRelease #linting #npm #npmWorkspace #peerDependencies #packageJson #nodeModules

Release v9.0.0 · voxpelli/node-installed-check

Based on [email protected] which adds: Support for workspaces (#31) Verification of peer dependency ranges (#10) Support for glob batters in ignores (#41) Improved presentation with suggest...

GitHub

🔍 Seeking a Dropbox alternative? 🚀 Dive into Part 2 of our series with "Filen Review." Uncover a powerful solution with automatic node_modules exclusion. Keep your cloud storage clean and efficient! #DropboxAlternative #NodeModules #TechReview

https://www.news47ell.com/blog/filen-review-dropbox-alternative-exclude-node-modules-sync

Filen Review - Dropbox alternative with node_modules folder exclusion

Read my review of Filen, an end-to-end encrypted cloud storage solution that allows you to exclude node_modules folder from syncing and so much more.

News47ell
Is there a way (or a package) to show the installed versions of npm node modules (npm list) and what is defined in your package.json?

#packagejson #node #npm #nodemodules

Fermi Paradox got finally explained!

> 🛸 Oh this planet looks interesting. ... WFT is a node_modules?! ... OK, next solar system ...

#DevJoke #SadButTrue #NodeModules #NodeJS