🚀 DAY 3 OF LAUNCH WEEK:Announcing Bun and vlt Support in Socket.Learn more →
Socket
Book a DemoInstallSign in
Socket

ibmfoodtrust

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ibmfoodtrust

IBM Food Trust Javascript API

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

trellisfw-ift

IBM Food Trust Javascript API.

Connecting to the IBM Food Trust

const IFT = require("trellisfw-ift");

let _IFT = new IFT({
  organization_id: "",
  apiKey: ""
});

/**
 * connecting to IFT framework
 * retriving a certificate to the IFT
 */
_IFT.connect().then(response => {
  _IFT.getCertificateManager("e623ec02f73ce20428201045b1f68df5");
});

Creating a new Certificate in the IBM Food Trust (IFT):

const IFT = require("trellisfw-ift");

let _IFT = new IFT({
  organization_id: "",
  apiKey: ""
});

_IFT.connect().then(response => {
  _IFT.putCertificate(_audit, _certificate).then(response => {
    console.log(response);
});

Keywords

trellisfw

FAQs

Package last updated on 01 Oct 2018

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