0.2.4 • Published 6 months ago

@types/babar v0.2.4

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

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 definitions for babar 0.2
// Project: https://github.com/stephan83/babar#readme
// Definitions by: Matt Bachmann <https://github.com/Bachmann1234>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Wed, 07 Jul 2021 21:44:44 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by Matt Bachmann.

0.2.3

7 months ago

0.2.2

8 months ago

0.2.4

6 months ago

0.2.1

3 years ago

0.2.0

3 years ago