Vanilla JavaScript utils collection.
npm install @vjscc/utils -S
Or some CDN service supported github like jsdelivr.
Or visit github releases page to download dist zip.
We provide 3 versions bundles:
UMD
,ESM
andMinified UMD
, see package.json to get paths.
import utility funcions and call them as you wish.
// ESM
import { createRandomInteger } from '@vjscc/utils'
const random1 = createRandomInteger(100)
// CommonJS
const { createRandomInteger } = require('@vjscc/utils')
const random2 = createRandomInteger(100)
// Browser
const { createRandomInteger } = VjsccUtils
const random3 = createRandomInteger(100)
See our doucment site or source code.
MIT
Generated using TypeDoc