@i3m/cloud-vault-client
TypeScript icon, indicating that this package has built-in type declarations

2.6.2 • Public • Published

License: EUPL_1.2 Contributor Covenant JavaScript Style Guide Node.js CI Coverage Status

@i3m/cloud-vault-client

A TypeScript/JavaScript implementation of a client for the i3M-Wallet Cloud-Vault server

Install and use

@i3m/cloud-vault-client can be imported to your project with npm:

npm install @i3m/cloud-vault-client

Then either require (Node.js CJS):

const cloudVaultClient = require('@i3m/cloud-vault-client')

or import (JavaScript ES module):

import * as cloudVaultClient from '@i3m/cloud-vault-client'

The appropriate version for node should be automatically chosen when requiring/importing. However, if your bundler does not import the appropriate module version (node esm, node cjs), you can force it to use a specific one by just importing one of the followings:

  • @i3m/cloud-vault-client/dist/cjs/index.node: for Node.js CJS module
  • @i3m/cloud-vault-client/dist/esm/index.node: for Node.js ESM module

If you are coding TypeScript, types will not be automatically detected when using the specific versions. You can easily get the types in by creating adding to a types declaration file (.d.ts) the following line:

declare module '@i3m/cloud-vault-client/dist/esm/index.node' // use the specific file you were importing

Usage example

YOUR TYPESCRIPT EXAMPLE CODE HERE

API reference documentation

Check the API

/@i3m/cloud-vault-client/

    Package Sidebar

    Install

    npm i @i3m/cloud-vault-client

    Weekly Downloads

    12

    Version

    2.6.2

    License

    EUPL-1.2

    Unpacked Size

    205 kB

    Total Files

    30

    Last publish

    Collaborators

    • rish2497
    • ferogar
    • juanelasisme