Installation
npm install --save @types/jsonminify
Summary
This package contains type definitions for jsonminify (https://github.com/fkei/JSON.minify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonminify.
index.d.ts
declare global {
interface JSON {
/**
* minifies blocks of JSON-like content into valid JSON by removing all whitespace and comments.
*/
minify(json: string): string;
}
}
/**
* minifies blocks of JSON-like content into valid JSON by removing all whitespace and comments.
*/
declare function minify(json: string): string;
export = minify;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Dan Homola, and Piotr Błażejewicz.