json-stable-parse
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

json-stable-parse

Build Status

npm downloads

NPM

Introduction

This repo allow you to parse json data recursively

Features

  • Typescript compatible. Includes Type definitions

Installation

Bundling

This module is distributed in 3 formats

  • ems build dist/jsonParse.esm.js in es5 format
  • commonjs build dist/jsonParse.cjs.js in es5 format with problematic packages bundled (benfits non-webpack users)
  • umd build dist/jsonParse.umd.min.js in es5 format without polyfilling corejs minified

By default, the appropriate format is used for your specified usecase You can use a different format (if you know what you're doing) by referencing the correct file

The cjs build is not polyfilled with core-js. It is upto the user to polyfill based on the browserlist they target

Directly in Browser

CDN's serve the non-core-js polyfilled version by default. You can use a different

jsdeliver

<script src="https://cdn.jsdelivr.net/npm/json-stable-parse"></script>

unpkg

<script src="https://unpkg.com/json-stable-parse"></script>

Usage

Add json-stable-parse to your project:

To allow your web app to retrieve keys:

Install the package npm i json-stable-parse or yarn add json-stable-parse

Requirements

  • This package requires a peer dependency of @babel/runtime
  • Node 18+

Readme

Keywords

Package Sidebar

Install

npm i json-stable-parse

Weekly Downloads

55

Version

1.0.0

License

MIT

Unpacked Size

22.2 kB

Total Files

11

Last publish

Collaborators

  • chaitanyapotti