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

1.0.3 • Public • Published

Installation

npm install --save @types/lua-json

Summary

This package contains type definitions for lua-json (https://github.com/kcwiki/lua-json#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lua-json.

index.d.ts

/**
 * Takes a JSON object and returns a Lua table as a string.
 */
export function format(
    value: object,
    options?: {
        eol?: string;
        singleQuote?: boolean;
        spaces?: number;
    },
): string;

/**
 * Takes a Lua table (string) and returns a JSON object.
 */
export function parse(value: string): object;

/**
 * lua-json provides a way to convert between JSON and Lua tables.
 */
export as namespace luajson;

Additional Details

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

Credits

These definitions were written by bitomic.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.0.10ts3.8
1.0.10ts3.9
1.0.10ts4.0
1.0.10ts4.1
1.0.10ts4.2
1.0.10ts4.3
1.0.10ts4.4
1.0.00ts3.7
1.0.341ts5.7
1.0.341ts5.6
1.0.341latest
1.0.341ts4.5
1.0.341ts4.6
1.0.341ts4.7
1.0.341ts4.8
1.0.341ts4.9
1.0.341ts5.0
1.0.341ts5.1
1.0.341ts5.2
1.0.341ts5.3
1.0.341ts5.4
1.0.341ts5.5
1.0.341ts5.8

Version History

VersionDownloads (Last 7 Days)Published
1.0.341
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @types/lua-json

Weekly Downloads

34

Version

1.0.3

License

MIT

Unpacked Size

3.4 kB

Total Files

5

Last publish

Collaborators

  • types