heokhe / xobj

extreme methods for objects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Using NPM

npm install @hkh12/xobj

Using <script> tag

<script src="https://unpkg.com/@hkh12/xobj/dist/xobj.umd.min.js"></script>

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 directory.

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

About

extreme methods for objects

License:GNU General Public License v3.0


Languages

Language:JavaScript 100.0%