lerk

The Simplest and Smallest Hello World Node.js application to debug routing resources, development pipeline or developing something before real-world application

Usage no npm install needed!

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

README

lerk

NPM

npm version install size

🛩ī¸ The Simplest and Smallest Hello World Node.js Application.

Usage

When you want to debug routing resources, development pipeline or developing something before real-world application, you may write tedius JavaScript source code to run Node.js server that serving Hello World! page.

🤘 It's time to use lerk.

Here are some best cases.

  • Testing Kubernetes deployment works well.

  • Practicing Docker network.

  • Don't want to type anymore Express.js Hello World boilerplate.

Example

Install and run.

npm i -S lerk
// index.js
require('lerk')()

or

// Pass specific port
require('lerk')(5000)

Now lerk is listening 8080 port by default or the number you passed to it.

$ curl -s localhost:8080
Hello World