npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

condor-framework

1.0.0 • Public • Published

Condor Framework

Minimalist, fast framework for building GRPC services in Node JS.

Build Status Coverage Status

Status: Alpha.

Highlights

  • Focus on simplicity and high performance
  • Fully covered by tests
  • Promise based, which means no callbacks
  • Written using, and design for ES6

How to use

const Condor = require('condor-framework');
 
class Greeter {
  sayHello(call) {
    return { 'greeting': 'Hello ' + call.request.name };
  }
}
 
const logger = (call) => {
  console.log('Request:', call.request);
};
 
const app = new Condor()
  .addService('./protos/greeter.proto', 'myapp.Greeter', new Greeter())
  .addMiddleware(logger)
  .start();

Installation

npm install --save condor-framework

Table of contents

Documentation

install

npm i condor-framework

Downloadsweekly downloads

33

version

1.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability