0.6.13 • Published 7 years ago

seneca-promisified v0.6.13

Weekly downloads
172
License
MIT
Repository
github
Last release
7 years ago

Metapackage containing all of the seneca-promisified wrappers.

Example

const cbSeneca = require('seneca')();
cbSeneca.use('entity');
const SenecaPromisified = require('seneca-promisified');
const seneca = new SenecaPromisified(cbSeneca);
seneca.add({
  role: 'entity',
  name: 'greet',
  cmd: 'save'
}, (args) => {
  return {
    gretting: 'hello ' + args.ent.name
  };
});

seneca.make('greet').save$({ name: 'AGhost-7' }).then((res) => {
  console.log(res.greeting); // => hello AGhost-7
});

API Documentation

See: http://aghost-7.github.io/seneca-promisified

0.6.13

7 years ago

0.6.12

7 years ago

0.6.11

7 years ago

0.6.10

9 years ago

0.6.9

9 years ago

0.6.8

9 years ago

0.6.7

10 years ago

0.6.6

10 years ago

0.6.5

10 years ago

0.6.4

10 years ago

0.5.3

10 years ago

0.5.2

10 years ago

0.5.1

10 years ago

0.5.0

10 years ago