npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

luukere

v1.0.5

Published

Generate Node.js server application skeletons that can be compiled into Debian .deb packages

Downloads

9

Readme

luukere

Generate Node.js server application skeletons that can be compiled into Debian/Ubuntu deb and CentOS rpm packages.

The skeleton is an application with required components to run it as a server daemon. It already includes a respawning upstart script, configuration folder under /etc, logging to /var/log and so on. You can build your server app and compile it to a Debian/Ubuntu or CentOS package with the included build scripts and not worry about directory strucutres in the server.

What is included in the skeleton?

  • Application code at /opt/app-name
  • Respawning upstart script at /etc/init (daemon is restarted if it is closed unexpectedly)
  • Configuration folder at /etc/app-name.d
  • Log file at /var/log/app-name.log
  • PID file at /var/run/app-name.pid

The example application uses config module for configuration (auto-loads configuration from the config folder) and npmlog for logging but you do not have to use these.

What is "luukere"?

Luukere is skeleton in Estonian

Install

Install from npm

npm install -g luukere

Usage

Generate Skeleton App

luukere -a "app-name" -d "My Awesome Server App"

Where

  • -a identifies the app name (this is used as a folder name, so don't use spaces etc.)
  • -d describes the created app

Building the App

Dependencies

If you do not yet have fpm installed, install it like this:

gem install fpm

If you generate packages in OSX you might need the gnu-tar package which can be installed with Homebrew:

brew install gnu-tar

To build rpm packages in OSX you also need to install rpm support with Homebrew:

brew install rpm

Build

Once you have the dependencies set up you're all good to go. Generate your application deb package with:

cd app-name
./build-deb.sh

or rpm package with:

cd app-name
./build-rpm.sh

Thes commands generate deb and rpm files to the /dist folder. You can install the generated package on Ubuntu/Debian like this:

dpkg -i app-name-1.0.0_amd64.deb

and on CentOS/RHEL like this:

rpm -ivh app-name-1.0.0_amd64.rpm

The package expects that Node.js is installed from a package (see instructions for Ubuntu here) and that the installed Node.js version is at least 0.10.

Uninstall package

If you want to remove the installed app from the server, you can do this in Debian/Ubuntu:

apt-get remove app-name

or this in CentOS:

yum remove app-name

Uninstalling removes all related files (excluding any files the app itself might have created outside its folder).

License

luukere is licensed under the MIT license. The generated skeleton is licensed as public domain, so you can make it your own with no hassle.