$ cnpm install @types/json2xls
npm install --save @types/json2xls
This package contains type definitions for json2xls (https://github.com/rikkertkoppes/json2xls).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/json2xls.
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;
These definitions were written by Can Gökçeaslan.
Copyright 2013 - present © cnpmjs.org | Home |