4.1.5 • Published 1 year ago
@types/svg2png v4.1.5
Installation
npm install --save @types/svg2png
Summary
This package contains type definitions for svg2png (https://github.com/domenic/svg2png).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/svg2png.
index.d.ts
// Type definitions for svg2png 4.1
// Project: https://github.com/domenic/svg2png
// Definitions by: hans windhoff <https://github.com/hansrwindhoff>, songChengcheng <https://github.com/sccgithub>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
interface opts {
fileName?: string | undefined;
width?: number | undefined;
height?: number | undefined;
url?: string | undefined;
}
declare function svg2png(sourceBuffer: Buffer, opts?: opts): Promise<Buffer>;
declare namespace svg2png {
function sync(sourceBuffer: Buffer, opts?: opts): Buffer;
}
export = svg2png;
Additional Details
- Last updated: Fri, 02 Jul 2021 22:33:13 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by hans windhoff, and songChengcheng.
4.1.4
1 year ago
4.1.3
1 year ago
4.1.5
1 year ago
4.1.2
2 years ago
4.1.1
3 years ago
4.1.0
7 years ago
0.0.27
8 years ago
0.0.26
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.20-alpha
9 years ago
0.0.19-alpha
9 years ago
0.0.14-alpha
9 years ago
0.0.13-alpha
9 years ago