Skip to content

vjscc/utils

Repository files navigation

@vjscc/utils

Vanilla JavaScript utils collection.

npm npm type definitions npm bundle size Codecov GitHub

Install

  • Use npm:
npm install @vjscc/utils -S

We provide 3 versions bundles: UMD, ESM and Minified 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