zookeeper-commands
- Version 2.0.4
- Published
- 47.9 kB
- 5 dependencies
- MIT license
Install
npm i zookeeper-commands
yarn add zookeeper-commands
pnpm add zookeeper-commands
Overview
A node.js client to run ZooKeeper Commands the four letter words.
Index
Functions
function create
create: ( zookeeper_connect_string: any, zk_node_path: any, zk_node_data: any, create_mode: any) => Promise<unknown>;
function exists
exists: (zookeeper_connect_string: any, zk_node_path: any) => Promise<unknown>;
function getData
getData: (zookeeper_connect_string: any, zk_node_path: any) => Promise<unknown>;
function mkdirp
mkdirp: ( zookeeper_connect_string: string, zk_node_path: string, zk_node_data?: string, create_mode?: number) => Promise<unknown>;
function remove
remove: (zookeeper_connect_string: any, zk_node_path: any) => Promise<unknown>;
function setData
setData: ( zookeeper_connect_string: string, zk_node_path: string, zk_node_data: string) => Promise<unknown>;
Classes
class Options
class Options implements IOptions {}
constructor
constructor(host?: string, port?: number, timeout_ms?: number);
property host
host: string;
property port
port: number;
property timeout_ms
timeout_ms: number;
class Zookeeper
class Zookeeper {}
constructor
constructor(options?: IOptions);
method command
command: ( command: string, callback?: (err: any, data: any) => void) => Promise<any>;
Interfaces
interface IOptions
interface IOptions {}
Package Files (2)
Dependencies (5)
Dev Dependencies (8)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/zookeeper-commands
.
- Markdown[![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/zookeeper-commands)
- HTML<a href="https://www.jsdocs.io/package/zookeeper-commands"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 1534 ms. - Missing or incorrect documentation? Open an issue for this package.