@kit-p/json-kit - v2.0.0

json-kit

npm: @kit-p/json-kit languages: github.com/Kit-p/json-kit semantic-release: conventionalcommits Contribute with Gitpod

JSON Toolkit for (de)serialization | (un)minification | (de)compression


Project State

This project is in maintenance state. The APIs are stable.

Installation

For Node.js:

  • npm install @kit-p/json-kit
  • yarn add @kit-p/json-kit
  • pnpm add @kit-p/json-kit

CommonJS

const { JsonKit } = require("@kit-p/json-kit");

ESM

import { JsonKit } from "@kit-p/json-kit";

For browsers:

CommonJS

  • <script src="https://cdn.jsdelivr.net/npm/@kit-p/json-kit"></script>
    <script>
    console.log(JsonKit);
    </script>
  • <script src="https://unpkg.com/@kit-p/json-kit"></script>
    <script>
    console.log(JsonKit);
    </script>

ESM

  • <script type="module">
    import { JsonKit } from "https://cdn.jsdelivr.net/npm/@kit-p/json-kit/+esm";
    </script>
  • <script type="module">
    import { JsonKit } from "https://unpkg.com/@kit-p/json-kit?module";
    </script>

Usage

See the documentation site or the repository Wiki page or docs/modules.md.

License

MIT

Generated using TypeDoc