@hkh12/xobj

Utility library for objects

Usage no npm install needed!

<script type="module">
  import hkh12Xobj from 'https://cdn.skypack.dev/@hkh12/xobj';
</script>

README

XOBJ: Utility library for objects

A set of functions to work with objects, with no pain.

Old API (v1) is available on branch v1.

Feauters

  • No dependencies (at least for now)
  • Fast and lightweight ⚡️

Installation

npm install @hkh12/xobj

Usage

// `x_` is an alias to xobj
const x_ = require('@hkh12/xobj')

For a full list of methods, visit here.

Builds

There are several builds for this library. All of them are prefixed with xobj and are available in dist library.

Filename Description
.esm.js ES Module
.common.js Default. CommonJS module
.umd.js UMD build
.umd.min.js Minified UMD build