Being needed by others is a very happy thing, so there is BootsJS, a powerful JS tool library.
npm:
npm install boots-js
yarn:
yarn add boots-js
cdn:
https://unpkg.com/boots-js@latest/umd/index.js
// 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);
// 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>
// Global Import
import BootsJS from 'boots-js'
BootsJS.ObjectUtils.type(123);
// Import on Demand
import ObjectUtils from 'boots-js/object-utils'
ObjectUtils.type(123);