@types/get-pixels
TypeScript icon, indicating that this package has built-in type declarations

3.3.4 • Public • Published

Installation

npm install --save @types/get-pixels

Summary

This package contains type definitions for get-pixels (https://github.com/scijs/get-pixels#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-pixels.

index.d.ts

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

import { NdArray } from "ndarray";

type Callback = (err: Error | null, pixels: NdArray<Uint8Array>) => void;

declare function getPixels(path: string, callback: Callback): void;
declare function getPixels(path: string | Uint8Array, type: string, callback: Callback): void;

export = getPixels;

Additional Details

Credits

These definitions were written by Don McCurdy.

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @types/get-pixels

    Weekly Downloads

    3,523

    Version

    3.3.4

    License

    MIT

    Unpacked Size

    3.38 kB

    Total Files

    5

    Last publish

    Collaborators

    • types