@vjscc/utils
v1.0.2
Published
Vanilla JavaScript utils collection.
Downloads
4
Readme
@vjscc/utils
Vanilla JavaScript utils collection.
Install
- Use npm:
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.
Usage
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)
API
See our doucment site or source code.
LICENSE
MIT