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

0.2.4 • Public • Published

Installation

npm install --save @types/babar

Summary

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

Details

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

index.d.ts

type color = "yellow" | "cyan" | "white" | "magenta" | "green" | "red" | "grey" | "blue";

interface Options {
    caption?: string | undefined;
    color?: color | "ascii" | undefined;
    grid?: color | undefined;
    width?: number | undefined;
    height?: number | undefined;
    xFractions?: number | undefined;
    yFractions?: number | undefined;
    minX?: number | undefined;
    maxX?: number | undefined;
    minY?: number | undefined;
    maxY?: number | undefined;
}
declare function babar(points: ReadonlyArray<[number, number]>, options?: Options): string;

export = babar;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:04 GMT
  • Dependencies: none

Credits

These definitions were written by Matt Bachmann.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/babar

Weekly Downloads

414

Version

0.2.4

License

MIT

Unpacked Size

3.7 kB

Total Files

5

Last publish

Collaborators

  • types