Skip to content

Latest commit

 

History

History
67 lines (53 loc) · 1.54 KB

README.md

File metadata and controls

67 lines (53 loc) · 1.54 KB

hd-utils

Bundlephobia Types NPM Version UnLicense

npm i hd-utils

A handy collection of utilities for modern js developer


Getting Started

import {isFunction, sleep, occurrencesCount, isArrayOfStrings} from 'hd-utils';

console.log(isFunction(()=>{})) //true

console.log(occurrencesCount("foofoofoo", "foofoo")) //1

console.log(isArrayOfStrings(["utils"])) //true

sleep(1000)

List of utility types:

  1. String utils.
  2. Object utils.
  3. Array utils.
  4. Route utils.
  5. Number utils.
  6. Styling utils.
  7. Validation utils.
  8. General utils.
  9. File utils.
  10. Browser utils.

Check the docs

Docs