Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

governify-agreement-manager

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

governify-agreement-manager

Module to manage governify agreements with translators, mappers and analysis functions

  • 0.0.9
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

Governify NPM Agreement Manager

NPM Module to manage governify agreements with translators, parsers, and analysis functions

INSTALL

npm install governify-agreement-manager --save

TRANSLATORS USAGE

Translator transforms agreement documents from external of governify model to Governify Model, e.g. SLA4OAI Model

FROM String

var agreementManager = require('governify-agreement-manager');
var translator = agreementManager.translators.sla4oai;

var sla4oaiString  = '...';

translator.convertString(sla4oaiString, (data)=>{

      //SUCCESS ACTIONS

},(err)=>{

     //ERRORS ACTIONS

});

FROM File

var agreementManager = require('governify-agreement-manager');
var translator = agreementManager.translators.sla4oai;

var sla4oaiUri  = './data/plans.yaml';

translator.convertFile(sla4oaiUri, (data)=>{

      //SUCCESS ACTIONS

},(err)=>{

     //ERRORS ACTIONS

});

FROM Object

var agreementManager = require('governify-agreement-manager');
var translator = agreementManager.translators.sla4oai;

var sla4oaiObject  = {
  // ALL CONTENT
};

translator.convertObject(sla4oaiObject, (data)=>{

      //SUCCESS ACTIONS

},(err)=>{

     //ERRORS ACTIONS

});

Keywords

FAQs

Package last updated on 12 Dec 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc