UNPKG

epir

Version:

EllipticPIR client library (Node.js / TypeScript bindings).

13 lines (8 loc) 294 B
import { MG_DEFAULT_PATH } from '../types'; import { createEpir, createDecryptionContext } from '../index'; test('create an Epir instance', async () => { await createEpir(); }); test('create a DecryptionContext instance', async () => { await createDecryptionContext(MG_DEFAULT_PATH); });