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

noder.io-app

v0.1.1

Published

Noder.io-app is a light starter toolkit to start and organize quickly an application with Node.js. Noder.io-app provides useful features through Node.js modules chosen for the performance and productivity gains.

Downloads

7

Readme

Noder.io-app

Actual version published on NPM Dependencies

noder.io-app is a light starter toolkit to start and organize quickly an application with Node.js. Noder.io-app provides express and other features (router that support the named routes, express-load, ...).

noder.io-app is an extension of Noder.io.

If noder.io is not installed, it will be installed during the installation of noder.io-app.

  • In progress:
    • online documentation, API doc and tutorials (multilingual, french and english from the start)
    • starter kit for start quickly a project Node.js (without unnecessary overhead, nor imposed modules)
    • standalone and portable noder package

Getting Started

noder.io-app require node.js 0.10 or higher.

Install noder

Via NPM :

npm install noder.io-app

Usage

// load the modules noder.io + noder.io-app into the noder variable
var noder = require('noder.io-app');

// shortcut, noder application (it uses express)
var app = noder.app;

// display the environment of execution
console.log(noder.conf.get('env'));

// named route
app.post({path: '/hello/:name', as:'hello'}, function(req, res){
  res.end('Hello ' + req.name);
});

// script loader
noder.load('config')
  .then('routes')
  .into(app);

// ...

If you already use noder.io, this also works :

// load noder.io into the noder variable
var noder = require('noder.io');

// Add noder.io-app into the noder variable
require('noder.io-app');

// shortcut, noder application (it uses express)
var app = noder.app;

// display the environment of execution
console.log(noder.conf.get('env'));

// named route
app.post({path: '/hello/:name', as:'hello'}, function(req, res){
  res.end('Hello ' + req.name);
});

// script loader
noder.load('config')
  .then('routes')
  .into(app);

// ...

Static server

Very useful for quickly run a HTTP server.

node node_modules/.bin/noder-server --help

Usage: noder-server [options]

Options:

-h, --help         output usage information
-s, --static       Run a static server
-r, --root <path>  The root path (default: public)
-p, --port <port>  The port (default: 3000)
--debug            Debug mode
node node_modules/.bin/noder-server --static --debug --port 8080

Open your browser on http://localhost:8080 it works :)

Testing

Noder.io-app is tested with Unit.js and Mocha. Unit.js is a powerful and intuitive unit testing framework for javascript.

Contributing

Contributions are welcome, you are welcome :)

License

Copyright (c) 2014, Nicolas Tallefourtane.

BSD 2, see LICENSE file for more info.

Author

| Nicolas Tallefourtane - Nicolab.net | |---| | Nicolas Talle | | Support via Gittip | | Make a donation via Paypal |