Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

caffe

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caffe

Transport agnostic services framework.

  • 0.1.0-alpha
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Caffe

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')

Services

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().

fooService.serve()

Client

Sometimes you need to

Keywords

FAQs

Package last updated on 19 Mar 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc