Installation
npm install --save @types/json2xls
Summary
This package contains type definitions for json2xls (https://github.com/rikkertkoppes/json2xls).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json2xls.
index.d.ts
import express = require("express");
declare function json2xls(json: any, options?: json2xls.Config): Buffer;
declare namespace json2xls {
interface Config {
fields?: Record<string, string> | string[] | undefined;
style?: string | undefined;
}
function middleware(
req: express.Request,
res: express.Response,
next: express.NextFunction,
): void;
}
export = json2xls;
Additional Details
- Last updated: Mon, 19 Feb 2024 20:35:27 GMT
- Dependencies: @types/express
Credits
These definitions were written by Can Gökçeaslan.