micro-core

Micro core utilities

Usage no npm install needed!

<script type="module">
  import microCore from 'https://cdn.skypack.dev/micro-core';
</script>

README

micro-core

The core micro API. Designed for production use, or for packages to extract dependencies with a minimal footprint.

It avoids dependencies as much as possible for fast downloads.

For the complete package, API and transpilation runtime look at micro.

micro-serve

This package ships with micro-serve installed in bin. Point it to a module that exports a micro request handler:

$ micro-serve -h
usage: micro-serve [-h host] [-p port] <file>

$ micro-serve -p 3000 index.js
Listening on *:3000