Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@jspm/node-importmap-loader

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jspm/node-importmap-loader

JSPM's node importmap loader ⚡️

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created
Source

@jspm/node-importmap-loader

Typed with TypeScript npm version ci Github

Don't bother installing dependencies you don't need to! 🏇🏻💨

With @jspm/node-importmap-loader, you can reference and execute dependencies directly to maximize productivity ⚡️, decrease security risk 🚔!


Requirements

Node 18+

@jspm/node-importmap-loader requires Node 18+ as it uses experminental loaders and node native fetch.


Usage

Getting started with @jspm/node-importmap-loader can be done in 2 steps!

1. Install
npm install @jspm/node-importmap-loader --save-dev
2. Execute

With a node.importmap defined in your working directory, run

load-node-importmap <file-to-execute>
Examples and demos coming soon ⏰!

Comparisions

Additionally, @jspm/node-importmap-loader can produce significant size benefits

With regular npm install
du -hs node_modules
50M    node_modules
With @jspm/node-importmap-loader
du -sh .cache
3.6M    .cache
And it takes almost the same time to execute scripts!

Wow! Awesome! How do I Contribute?

1. Clone
git clone git@github.com:jspm/node-importmap-http-loader.git
2. Devcontainer

Then, via devcontainers, launch the container by clicking the devcontainer button or via the command palette.

To setup devcontainers
  1. Launch vscode or your favorite devcontainers enabled editor
  2. Install Remote Containers extension
  3. Launch the container by clicking the devcontainer button or via the command palette

Old school contributing setup

Unrecommended setup

git clone git@github.com:jspm/node-importmap-http-loader.git
n install auto && npm install

📣 More how-tos, documentation coming soon!

FAQs

Package last updated on 12 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc