1.3.33 • Published 6 months ago
@types/asciify v1.3.33
Installation
npm install --save @types/asciify
Summary
This package contains type definitions for asciify (https://www.npmjs.org/package/asciify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/asciify.
index.d.ts
// Type definitions for asciify 1.3.5
// Project: https://www.npmjs.org/package/asciify
// Definitions by: Alan Norbauer <http://alan.norbauer.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
interface AsciifyOptions {
font?: string | undefined;
maxWidth?: number | undefined;
color?: string | undefined;
}
interface AsciifyCallback {
// err is sometimes a string and sometimes an Error
(err: any, asciifiedText: string): void
}
declare module "asciify" {
function asciify(text: string, callback: AsciifyCallback): void;
function asciify(text: string, options: string, callback: AsciifyCallback): void;
function asciify(text: string, options: AsciifyOptions, callback: AsciifyCallback): void;
namespace asciify {
function getFonts(callback: (err: Error, fonts: string[]) => void): void;
}
export = asciify
}
Additional Details
- Last updated: Wed, 07 Jul 2021 21:44:32 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by Alan Norbauer.
1.3.31
8 months ago
1.3.32
7 months ago
1.3.33
6 months ago
1.3.30
3 years ago
1.3.29
8 years ago
1.3.28
8 years ago
1.3.27-alpha
8 years ago
1.3.26-alpha
8 years ago
1.3.25-alpha
8 years ago
1.3.24-alpha
8 years ago
1.3.23-alpha
8 years ago
1.3.22-alpha
8 years ago
1.3.21-alpha
8 years ago
1.3.16-alpha
8 years ago
1.3.15-alpha
8 years ago