zincsearch-node-cnn
v2.0.3
Published
zincsearch sdk for node with promise
Downloads
14
Readme
About The Project
This use undici for http client;
Built With
Getting Started
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Prerequisites
- node
node >= 14
Installation
- npm
npm install zincsearch-node
- yarn
yarn install zincsearch-node
- pnpm
pnpm add zincsearch-node
Usage
- import
- es6
import ZincSearch from 'zincsearch-node';
- require
const ZincSearch = require('zincsearch-node/lib/index.cjs')
- init
const zincSearch = new ZincSearch({
url: /* zincsearch url */,
user: /* zincsearch user */,
password: /* zincsearch password */,
});
// check healthz
await zincSearch.healthz();
License
Distributed under the MIT License. See LICENSE.txt
for more information.