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

0.0.36 • Public • Published

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 23:36:23 GMT
  • Dependencies: none

Credits

These definitions were written by vvakame.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/archy

Weekly Downloads

138,487

Version

0.0.36

License

MIT

Unpacked Size

3.26 kB

Total Files

5

Last publish

Collaborators

  • types