A set of functions to work with objects, with no pain.
Old API (v1) is available on branch v1.
- No dependencies (at least for now)
- Fast and lightweight ⚡️
npm install @hkh12/xobj
<script src="https://unpkg.com/@hkh12/xobj/dist/xobj.umd.min.js"></script>
// `x_` is an alias to xobj
const x_ = require('@hkh12/xobj')
For a full list of methods, visit here.
There are several builds for this library. All of them are prefixed with xobj
and are available in dist
directory.
Filename | Description |
---|---|
.esm.js |
ES Module |
.common.js |
Default. CommonJS module |
.umd.js |
UMD build |
.umd.min.js |
Minified UMD build |