npm.io
0.0.36 • Published 2 years ago

@types/archy

Licence
MIT
Version
0.0.36
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/archy

Summary

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

Details

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

index.d.ts

declare function archy(obj: archy.Data, prefix?: string, opts?: archy.Options): string;
declare function archy(obj: string, prefix?: string, opts?: archy.Options): string;

declare namespace archy {
    interface Data {
        label: string;
        nodes?: Array<Data | string> | undefined;
    }
    interface Options {
        unicode?: boolean | undefined;
    }
}

export = archy;

Additional Details

  • Last updated: Mon, 20 Nov 2023 2323 GMT
  • Dependencies: none

Credits

These definitions were written by vvakame.