0.6.13 • Published 6 years ago

seneca-promisified v0.6.13

Weekly downloads
172
License
MIT
Repository
github
Last release
6 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

6 years ago

0.6.12

6 years ago

0.6.11

6 years ago

0.6.10

7 years ago

0.6.9

7 years ago

0.6.8

7 years ago

0.6.7

8 years ago

0.6.6

8 years ago

0.6.5

8 years ago

0.6.4

8 years ago

0.5.3

8 years ago

0.5.2

8 years ago

0.5.1

8 years ago

0.5.0

8 years ago