Skip to content

funcs-package/funcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

funcs

For more information, visit funcs.js.org

libraries dependency status libraries sourcerank Release date npm license

Install

NPM version NPM bundle size npm download

# via npm
$ npm install @khaidev1012/funcs --save

# via yarn
$ yarn add @khaidev1012/funcs

Usage

import { getBytes } from "@khaidev1012/funcs";
// or const { getBytes } = require('@khaidev1012/funcs');

console.log(getBytes(1024)); // 1.00 KB

Functions

  • duration
  • fetchWithTimeout
  • firstUpperCase
  • formatTimeMs
  • getBytes
  • getMemory
  • hexToInt
  • hexToRgb
  • intToHex
  • isArray
  • isBoolean
  • isFunction
  • isNull
  • isNumber
  • isObject
  • isPromise
  • isString
  • isUndefined
  • isUrl
  • percentage
  • randomInt
  • randomKey
  • readFiles
  • rgbToHex
  • shuffle
  • wait

Classes

  • Timer

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published