@magaya/hyperion-write-access

0.1.1 • Public • Published

Hyperion Write Access

CircleCI

What is it?

Write access wrapper for operations in hyperion.

How to use it?

Can be used as follows:

let hyperionConnection; // ... get raw hyperion object
const WriteAccess = require('@magaya/hyperion-write-access');

const writer = new WriteAccess(hyperionConnection.async); // Needs methods in async

// Get interface object
let dbObject; // ... get object from hyperion
let objectToModify = await writer.edit(dbObject); 

// Begin editing objectToModify
let modifiedDbObject = await writer.save(objectToModify);

Readme

Keywords

Package Sidebar

Install

npm i @magaya/hyperion-write-access

Weekly Downloads

92

Version

0.1.1

License

MIT

Unpacked Size

4.18 kB

Total Files

5

Last publish

Collaborators

  • magaya