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 🙏

© 2026 – Pkg Stats / Ryan Hefner

cafesuada

v0.0.2

Published

A CoffeeScript-based MVC framework built on top of ExpressJS.

Readme

Cafe Sua Da

A CoffeeScript-based MVC framework built on top of the Express framework and Grunt.

Features

  • Assets compilation with Grunt
  • Easy to use routing

Local Environment

Launch App

foreman start or coffee app.coffee

Default Local URL

http://localhost:5000

Configurations

boot.js

To be documented...

engines.json

Speciy a compiler to use for your application's assets and view renderer

Options

html

Type: String Default: ejs

This is used to define the view rendering engine for the application.

Currently Supports:

  • ejs

css

Type: String Default: stylus

This is used to define the CSS framework to use for handling your CSS assets with Grunt.

Currently Supports:

  • css
  • stylus
  • scss
  • sass

js

Type: String Default: coffee

This is used to define the JS framework to use for handling your JS assets with Grunt.

Currently Supports:

  • js
  • coffee

Sample engines.json

{
  "html" : "ejs",
  "css" : "stylus",
  "js" : "coffee"
}

paths.js

You can customize the app folder names here.

99.99% of the time, you will never ever need to change this.

routes.json

Enter custom routes here and route them to a specific routes file in your application directory.

To specify a route, each line should be key value where the key is the combined string of the request method and the request URI and the value is the path of your routes file relative to your application routes directory.

| Method | Request URI | Routes File To Be Loaded | |:---|:---|:---| | GET | / | /app/routes/index.js | | GET | /news | /app/routes/news/archive.js | | GET | /news/:postid/ | /app/routes/news/single | | POST | /news/:postid/ | /app/routes/news/post.js | | DELETE | /news/:postid/ | /app/routes/news/delete.js |

Sample routes.json

{
	"GET /" : "index",
	"GET /news" : "news/archive",
	"GET /news/:postid/" : "news/single",
	"POST /news/:postid/" : "news/post",
	"DELETE /news/:postid/" : "news/delete"
}

Building Assets

Run grunt in your project's root directory to compile the assets folder into your public folder.

You should place all files into the assets directory when compiling your public folder.

CHANGELOG

0.0.2

  • Fixed grunt for JS files
  • Added the ability to switch compilers for handling CSS and JS assets
  • Cleaned up code/docblocks

0.0.1

  • Initial development

TODOS

  • Add support for more views engine
  • Better documentation
  • Convert Gruntfile to coffeescript