Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@deskpro/js-utils

deskpro700BSD-3-Clause1.0.13

Deskpro library of common js methods

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