npm.io
1.2.4 • Published 1 year ago

@abw/badger-utils

Licence
MIT
Version
1.2.4
Deps
0
Size
171 kB
Vulns
0
Weekly
0

Badger Utils

This is a collection of various useful Javascript utility functions that I've written over the years.

Many of them are wrappers for simple code snippets that exist only to make my code more self-documenting and/or easier to read. Some are more complicated and are the kind of things that I prefer not to copy-and-paste into different projects.

You'll find similar functions in other libraries like underscore and Lodash. These just happen to be the ones I tend to use all the time.

Installation

Install badger-utils using your favourite package manager.

npm

npm add @abw/badger-utils
pnpm
pnpm add @abw/badger-utils
yarn
yarn add @abw/badger-utils

Documentation

Visit the website for detailed documentation.

Assertions

Numbers

Text

Objects

Functions

Select

Sort

Timing

Errors

Miscellaneous

Author

Andy Wardley abw@wardley.org

Keywords