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

2.3.3 • Public • Published

Installation

npm install --save @types/jsonabc

Summary

This package contains type definitions for jsonabc (http://novicelab.org/jsonabc).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jsonabc.

index.d.ts

/**
 * Sort the JSON (clean, parse, sort, stringify).
 * @param noArray Sort or don't sort arrays
 */
export function sort(inputStr: string, noArray?: boolean): string;

/**
 * Sort the JSON (clean, parse, sort, stringify).
 * @param noArray Sort or don't sort arrays
 */
export function sortObj<T extends object>(input: T, noArray?: boolean): T;

/** Remove trailing commas */
export function cleanJSON(input: string): string;

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by Florian Keller.

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @types/jsonabc

      Weekly Downloads

      773

      Version

      2.3.3

      License

      MIT

      Unpacked Size

      3.37 kB

      Total Files

      5

      Last publish

      Collaborators

      • types