New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@indexea/sdk

Package Overview
Dependencies
Maintainers
0
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@indexea/sdk

Indexea JavaScript SDK (indexea.com)

latest
npmnpm
Version
2.0.47
Version published
Maintainers
0
Created
Source

@indexea/sdk

indexea typescript sdk

Install

$ npm install '@indexea/sdk'
or
$ yarn add '@indexea/sdk'

Usage

import { WidgetsApi, SearchApi } from '@indexea/sdk'


// initialize indexea openapi client
const config = {
  basePath: '/v1',
  headers: { accept: 'application/json' },
  accessToken: () => {
    return 'user token'
  },
  credentials: 'include',
  middleware: []
}

var searchApi = new SearchApi(config);

searchApi.searchWidgetSearch({ widget, index, 'test', {}, 0, 20 }).then(res => {
    console.log(res);
});

Update

$ ./openapi.sh full_path_of_openapi.yml
$ yarn build
$ git add *
$ git commit -m "update version"
$ npm version patch
$ npm publish
$ git push

Keywords

Indexea

FAQs

Package last updated on 21 Aug 2024

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