UNPKG

@types/archy

Version:
34 lines (26 loc) 964 B
# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/archy/index.d.ts) ````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](https://github.com/vvakame).