0.1.1 • Published 6 years ago

@magaya/hyperion-write-access v0.1.1

Weekly downloads
19
License
MIT
Repository
github
Last release
6 years ago

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);