lerk

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


Keywords
http server, hello world, debug, hello-world-node, http-server
License
MIT
Install
npm install lerk@1.0.2

Documentation

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