@wavevision/ts-utils
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

Wavevision s.r.o.

TypeScript Utils

CI Coverage Status npm

Set of useful TypeScript utilities and helpers.

Installation

Via Yarn

yarn add @wavevision/ts-utils

or npm

npm install --save @wavevision/ts-utils

Contents

The package contains useful functions for:

  • components – get displayName of a React component with fallback for unknown
  • dom – create data attributes, get typed elements by various selectors (browser only)
  • numbers – generate numeric IDs, format floats
  • strings – generate random strings, format, capitalize, shallow stringify objects
  • type – type safe checkers
  • url – parse current URL including query string (browser only)

Package Sidebar

Install

npm i @wavevision/ts-utils

Weekly Downloads

19

Version

1.0.1

License

MIT

Unpacked Size

29 kB

Total Files

88

Last publish

Collaborators

  • vitrozsival