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 🙏

© 2024 – Pkg Stats / Ryan Hefner

naws

v2.1.4

Published

Not Another Web Server

Downloads

4

Readme

NAWS - Not Another Web Server

naws is not just another web server. It is a

What is NAWS

naws is a webserver container. It wraps around koa.js and provides a standard set of integrated libraries to get you started quickly and efficiently.

Middlewares

Middlewares in naws operate using a shared context this.content.

JSDC Talk

To run the JSDC exhibits, first you need to install vagrant.

Once you have done so, follow these steps:

  1. cd to the NAWS root directory
  2. vagrant up
  3. Brew a coffee, hug your cat(s), and watch some sappy love movie
  4. vagrant ssh
  5. sudo -s
  6. cd talk
  7. node <exhibit-filename> and enjoy!

Slideshare link - Leveraging ZeroMQ for Node.js

NAWS Guide

naws come pre-packaged with a host of modules designed to reduce the time it takes for you to spin up a proper koa-based webapp or API service.

Example

'use strict';

var naws = require('naws');

naws.router.setup(function () {
  // setup router
});

naws.use(naws.router);
naws.use(naws.i18n);
naws.use(naws.render);
naws.use(naws.syslog);
naws.use(naws.session);

naws.run();

=======

NAWS general web application framework

Usage

$ git clone [email protected]:soggie/naws.git naws
$ cd naws
$ npm link
$ cd $YOURPROJECT
$ git checkout -b v2 origin/v2
$ npm link naws
$ npm install -d
$ npm install swig --save

This will clone naws to a directory, and npm link it. Every time NAWS is updated just do a git pull on the naws directory to get the latest updates.