0.5.6 • Published 6 months ago

@types/hiredis v0.5.6

Weekly downloads
252
License
MIT
Repository
github
Last release
6 months ago

Installation

npm install --save @types/hiredis

Summary

This package contains type definitions for hiredis (https://github.com/redis/hiredis-node).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/hiredis.

index.d.ts

// Type definitions for hiredis 0.5
// Project: https://github.com/redis/hiredis-node
// Definitions by: Titan <https://github.com/titan>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

/// <reference types="node" />

import * as net from "net";

export interface Config {
  return_buffers: boolean;
}

export class Reader {
  constructor(config?: Config);
  feed(reply: string | Buffer): void;
  get(): string | Buffer;
}

export function createConnection(port: number, host: string): net.Socket;

Additional Details

  • Last updated: Thu, 16 Dec 2021 22:31:58 GMT
  • Dependencies: @types/node
  • Global values: none

Credits

These definitions were written by Titan.

0.5.4

8 months ago

0.5.6

6 months ago

0.5.5

7 months ago

0.5.3

2 years ago

0.5.2

5 years ago

0.5.1

7 years ago

0.5.0

7 years ago