nomo

Node modules for the browser

Usage no npm install needed!

<script type="module">
  import nomo from 'https://cdn.skypack.dev/nomo';
</script>

README

nomo

__no__de __mo__dules for the browser.

Why?

  • Write modules for Node and browsers without environment branching.
  • Dependency management with NPM for browser packages.

Usage

(work in progress - this is how it is supposed to work once it's ready)

Run nomo in your package directory. It will start with the main script declared in your package.json or default to index.js. required scripts are resolved relatively. It will also find scripts in node_modules.

The generated nomo.js file contains all scripts wrapped into a micro module loading framework.