lerk

1.0.2 • Public • Published

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

Package Sidebar

Install

npm i lerk

Weekly Downloads

3

Version

1.0.2

License

MIT

Unpacked Size

2.88 kB

Total Files

4

Last publish

Collaborators

  • dangen.effy