ecma-json
JSON as is with ECMAScript fixes
- as CJS:
require('ecma-json')
orrequire('ecma-json/cjs')
- as ESM:
import JSON from 'ecma-json/esm'
orimport JSON from 'https://unpkg.com/ecma-json?module'
- as global browser object:
<script src="//unpkg.com/ecma-json"></script>
API
Exact same JSON API. The only thing fixed in here is what ECMAScript decided to fix.