@types/jsonminify
TypeScript icon, indicating that this package has built-in type declarations

0.4.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/jsonminify

Weekly Downloads

15,035

Version

0.4.3

License

MIT

Unpacked Size

3.54 kB

Total Files

5

Last publish

Collaborators

  • types