How to use the @tanker/client-node function in @tanker/client-node

To help you get started, we’ve selected a few @tanker/client-node examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github TankerHQ / sdk-js / packages / functional-tests / src / __tests__ / client.spec.node.js View on Github external
const makeTanker = (appId: b64string): Tanker => {
  const tanker = new Tanker({
    appId,
    dataStore: { adapter: PouchDBMemory, prefix: makePrefix() },
    sdkType: 'js-functional-tests-node',
    url: tankerUrl,
  });

  return tanker;
};

@tanker/client-node

Tanker end-to-end encryption SDK for Node.js client applications

Apache-2.0
Latest version published 5 months ago

Package Health Score

65 / 100
Full package analysis