1.3.34 • Published 5 months ago
@types/asciify v1.3.34
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.34
5 months ago
1.3.31
2 years ago
1.3.32
2 years ago
1.3.33
2 years ago
1.3.30
4 years ago
1.3.29
9 years ago
1.3.28
9 years ago
1.3.27-alpha
9 years ago
1.3.26-alpha
9 years ago
1.3.25-alpha
9 years ago
1.3.24-alpha
9 years ago
1.3.23-alpha
9 years ago
1.3.22-alpha
9 years ago
1.3.21-alpha
9 years ago
1.3.16-alpha
9 years ago
1.3.15-alpha
9 years ago