With @jspm/node-importmap-loader
, you can reference and execute dependencies directly to maximize productivity ⚡️,
decrease security risk 🚔!
@jspm/node-importmap-loader
requires Node 18+ as it uses experminental loaders and node native fetch
.
Getting started with @jspm/node-importmap-loader
can be done in 2 steps!
npm install @jspm/node-importmap-loader --save-dev
With a node.importmap
defined in your working directory, run
load-node-importmap <file-to-execute>
Additionally, @jspm/node-importmap-loader
can produce significant size benefits
du -hs node_modules
50M node_modules
du -sh .cache
3.6M .cache
git clone [email protected]:jspm/node-importmap-http-loader.git
Then, via devcontainers, launch the container by clicking the devcontainer button or via the command palette.
- Launch vscode or your favorite devcontainers enabled editor
- Install Remote Containers extension
- Launch the container by clicking the devcontainer button or via the command palette
Unrecommended setup
git clone [email protected]:jspm/node-importmap-http-loader.git
n install auto && npm install