@iexec/dataprotector-deserializer
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

iExec logo

IExecDataProtectorDeserializer

This package helps nodejs iExec dapps to deserialize protected data created with @iexec/dataprotector

npm license

Installation

npm install @iexec/dataprotector-deserializer

Get started

In your nodejs iExec dapp

import { IExecDataProtectorDeserializer } from '@iexec/dataprotector-deserializer';

const deserializer = new IExecDataProtectorDeserializer();

const value1 = await deserializer.getValue('path.to.value1', 'bool');
const value2 = await deserializer.getValue('path.to.value2', 'string');

Readme

Keywords

Package Sidebar

Install

npm i @iexec/dataprotector-deserializer

Weekly Downloads

63

Version

0.1.0

License

Apache-2.0

Unpacked Size

43.6 kB

Total Files

10

Last publish

Collaborators

  • jeremyjames
  • gfournieriexec
  • iexec-infra
  • iexecteam