2.2.8 • Published 3 years ago

entityos v2.2.8

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

entityos Node.js module

Node.js module for entityos.cloud

Makes it easy to init your node app onto the entityos.cloud platform / API and send requests.

http://entityos.cloud http://docs.entityos.cloud/gettingstarted_nodejs npm install entityos Example app; https://github.com/ibcom/entityos-learn

Initialise;

var entityos = require('entityos');

Controller methods:

  • entityos.add({name:, note:, code:});
  • entityos.invoke(name, parameters for controller, data for controller);

Local data storage methods:

  • entityos.set({scope:, context:, name:, value:});
  • entityos.get({scope:, context:, name:});

Cloud data storage methods:

  • entityos.cloud.save({object:, data:, callback:});
  • entityos.cloud.retrieve({object:, data:, callback:});
  • entityos.cloud.invoke({object:, data:, callback:});