2.0.3 • Published 2 years ago

zincsearch-node-cnn v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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

  1. npm

    npm install zincsearch-node 
  2. yarn

    yarn install zincsearch-node 
  3. pnpm

    pnpm add zincsearch-node 

Usage

  1. import
  • es6
    import ZincSearch from 'zincsearch-node';
  • require
    const ZincSearch = require('zincsearch-node/lib/index.cjs')
  1. init
    const zincSearch = new ZincSearch({
      url: /* zincsearch url */,
      user: /* zincsearch user  */,
      password: /* zincsearch password  */,
    });
    // check healthz
    await zincSearch.healthz();
  2. more example see this wiki

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

ygz14836187@163.com

2.0.3

2 years ago