0.1.4 • Published 6 months ago

@types/dookie v0.1.4

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

Installation

npm install --save @types/dookie

Summary

This package contains type definitions for dookie (https://github.com/vkarpov15/dookie#readme).

Details

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

index.d.ts

// Type definitions for dookie 0.1
// Project: https://github.com/vkarpov15/dookie#readme
// Definitions by: Swanest <https://github.com/swanest>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

export interface PushOpts {
    filename?: string | undefined;
    dropDatabase: boolean;
}

// Our exports:
export function push(uri: string, data: any, opts?: PushOpts): Promise<any>;

export function pull(uri: string): Promise<any>;

export function pullToStream(uri: string, stream: any): Promise<any>;

// Make this available as a global for non-module code.
export as namespace dookie;

Additional Details

  • Last updated: Thu, 08 Jul 2021 09:08:51 GMT
  • Dependencies: none
  • Global values: dookie

Credits

These definitions were written by Swanest.