boots-js
v1.3.0
Published
BootsJS is a library dedicated to extending the capabilities of native JavaScript, aiming to address common data structures, methods, and frequently used algorithms that are not natively supported in JavaScript.
Downloads
43
Maintainers
Readme
Being needed by others is a very happy thing, so there is BootsJS, a powerful JS tool library.
Installation
npm:
npm install boots-js
yarn:
yarn add boots-js
cdn:
https://unpkg.com/boots-js@latest/umd/index.js
Usage
CommonJS
// Global Import
const BootsJS=require('boots-js/cjs');
BootsJS.ObjectUtils.type(123);
// Import on Demand
const ObjectUtils = require('boots-js/cjs/object-utils');
ObjectUtils.type(123);
Browser
// Global Import
<script src="https://unpkg.com/boots-js@latest/umd/index.js"></script>
<script>BootsJS.ObjectUtils.type(123);</script>
// Import on Demand
<script src="https://unpkg.com/boots-js@latest/umd/object-utils.js"></script>
<script>ObjectUtils.type(123);</script>
ES6 Module
// Global Import
import BootsJS from 'boots-js'
BootsJS.ObjectUtils.type(123);
// Import on Demand
import ObjectUtils from 'boots-js/object-utils'
ObjectUtils.type(123);