Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@jsonjoy.com/util

jsonjoy-com19.9mApache-2.01.6.0TypeScript support: included

Various helper utilities

codegen, buffer, string, utf8, json, json-equal, json-brand, json-random, fuzzer

readme

util

Useful utilities for TypeScript programming.

This package includes the following utilities:

  • json-random: Generate random JSON objects.
  • json-equal: Very fast JSON deep equality comparison.
  • json-brand: TypeScript branded type for JSON strings.
  • codegen: JIT JavaScript code generation utilities.
  • buffers: Various helper functions to work with Uint8Array and Buffer blobs.
  • strings: Various helper functions to work with UTF-8 strings.
  • sort: Fast sorting for small arrays.