jsonc.min
✨ Faster and safer JSON and JSONC minify, parse and stringify for JavaScript (Browser compatible) — 2.3KB.
File Explorer
- check.svg
- codeql-config.yml
- bot_stale.yml
- cd_publish.yml
- ci_benchmark.yml
- ci_build.yml
- ci_bun.yml
- ci_codeql.yml
- ci_deno.yml
- ci_lint.yml
- ci_linux.yml
- ci_node.yml
- ci_osx.yml
- ci_windows.yml
- FUNDING.yml
- settings.json
- jsonc-parser.js
- jsonc.min.js
- jsonc-parser.js
- jsonc.min.js
- input.json
- input.jsonc
- package-lock.json
- package.json
- index.ts
- json.test.ts
- jsonc.test.ts
- browserfy.ts
- .editorconfig
- .gitattributes
- .gitignore
- .prettierignore
- .prettierrc
- biome.json
- CHANGELOG.md
- CODE_OF_CONDUCT.md
- CONTRIBUTING.md
- LICENSE
- package-lock.json
- package.json
- README.md
- SECURITY.md
- tsconfig.json
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bun add
View Details ▼
bun add
Add and install new dependencies to the current project.
bun {{[a|add]}} {{package}}
Install a single package:
bun {{[a|add]}} {{package1 package2 ...}}
Install multiple packages:
bun {{[a|add]}} {{git_url}}
Install from a Git repository:
deno
View Details ▼
deno
A secure runtime for JavaScript, TypeScript, and WebAssembly.
Includes dependency management using `npm` or `jsr`, and tooling like bench, bundle, doc, and coverage.
deno
Start a REPL (interactive shell, also known as Read-Eval-Print Loop):
deno init sample && cd sample && deno test
Start a new project named sample and test it:
deno run {{path/to/file.ts}}
Run a file securely. It will ask (if needed) to allow net, read, etc:
npm
View Details ▼
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
