Transport agnostic services framework.
Last updated 5 years ago by helpfulhuman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install caffe 
SYNC missed versions from official npm registry.


Caffe is an opinionated abstraction layer for building distributed application components. That's a lot of tech-jargon for "build functions that can be called over one or more networks."

The library itself is very barebones and acts as an interface for plugins to communicate with your code.

Getting Started

Install via NPM

npm install --save caffe

Add it to your project

var caffe = require('caffe')


All of your application's operations exist within a service. You can have multiple services within a single Node app or split them up across multiple apps depending on your business needs.

Create a new service

You can create a new service using the brew() method. Note: service() is available as an alias for brew().

var fooService = caffe.brew('foo')

Begin accepting requests

Once you've created and configured a new service, you can tell it to start handling requests using the serve() method. Note: listen() is available as an alias for serve().



Sometimes you need to

Current Tags

  • 0.1.0-alpha                                ...           latest (5 years ago)

1 Versions

  • 0.1.0-alpha                                ...           5 years ago
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
Dev Dependencies (2)
Dependents (0)

Copyright 2014 - 2016 © |