Skip to content

NanoJSON is a lightweight JSON editing library built on pure JavaScript and native APIs. Can be easily embedded into websites.

License

Notifications You must be signed in to change notification settings

pardnchiu/NanoJSON

Repository files navigation

NanoJSON: Lightweight JSON Editor

tag size
npm download jsdeliver

Installation

Install via npm

npm i @pardnchiu/nanojson

Include via CDN

UMD version

<script src="https://cdn.jsdelivr.net/npm/@pardnchiu/nanojson@[VERSION]/dist/NanoJSON.js"></script>

ES Module version

import { JSONEditor } from "https://cdn.jsdelivr.net/npm/@pardnchiu/nanojson@[VERSION]/dist/NanoJSON.esm.js";

How to use

Initialize JSONEditor

let dom = new JSONEditor({
    id: "JSON-editor",      // Element to replace
    // title: "",           // Editor Title 
    // description: "",     // Editor Description 
    // button: {
    //     import: false,
    //     export: false
    // }                    // Default { import: true,  export: true }
    // fill: 1              // Adjust size to parent element, default: 1 | true
});

License

Similar to MIT License but provides obfuscated code only:

  • Same as MIT: Free to use, modify and redistribute, including commercial use
  • Main difference: Provides obfuscated code by default, source code available for purchase
  • License terms: Must retain original copyright notice (same as MIT)

For detailed terms and conditions, please see the Software Usage Agreement.

Creator

邱敬幃 Pardn Chiu


©️ 2025 邱敬幃 Pardn Chiu

About

NanoJSON is a lightweight JSON editing library built on pure JavaScript and native APIs. Can be easily embedded into websites.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published