You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@emilgroup/document-sdk

Package Overview
Dependencies
Maintainers
19
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
This package was compromised as part of the ongoing "CanisterWorm" supply chain attack.

Affected versions:

1.45.11.45.2
View campaign page

@emilgroup/document-sdk

OpenAPI client for @emilgroup/document-sdk

npmnpm
Version
1.44.1-beta.7
Version published
Weekly downloads
611
586.52%
Maintainers
19
Weekly downloads
 
Created
Source

Emil Documents SDK

This TypeScript/JavaScript client utilizes axios. The generated module can be used with client-based applications (i.e. React).

Language level

  • ES5 - you must have a Promises/A+ library installed
  • ES6

Module system

  • CommonJS
  • ES6 module system

Although this package can be used in both TypeScript and JavaScript, it is intended to be used with TypeScript. The definition should be automatically resolved via package.json. (Reference). For more information, you can go to Emil Api documentation.

Consuming

Navigate to the folder of your consuming project and run one of the following commands:

npm install @emilgroup/document-sdk@1.44.1-beta.7 --save

or

yarn add @emilgroup/document-sdk@1.44.1-beta.7

And then you can import DocumentsApi.

import { DocumentsApi } from '@emilgroup/document-sdk'

const documentsApi = new DocumentsApi();

To use authentication protected endpoints, you have to first authorize. To do so, use the authorize function in DocumentsApi:

async function listDocuments(): Promise<Void> {
    try {
        const documentsApi = new DocumentsApi();

        await documentsApi.authorize('username', 'password');

        const { data: { items } } = await documentsApi.listDocuments();

        console.log(items);
    } catch(error) {
      // process error
  }
}

Keywords

axios

FAQs

Package last updated on 19 Feb 2026

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