@deskpro/js-utils

Deskpro library of common js methods

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
10Jun 2, 2021Apr 26, 2018Minified + gzip package size for @deskpro/js-utils in KB

Readme

@deskpro/js-utils

Library of common js methods

Build Status Coverage Status License npm version

Installation

The easiest way to use js-utils is to install it from npm and build it into your app with Webpack.

npm i @deskpro/js-utils --save

Utilities

  • debounce
    Allow to debounce a function

  • newid
    Generates a unique id value.

  • noop
    Provides an empty function to use as a default callback.

Numbers

Objects

Strings

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.