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

1.1.0 • Public • Published

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

Select

Sort

Timing

Errors

Miscellaneous

Author

Andy Wardley abw@wardley.org

Readme

Keywords

Package Sidebar

Install

npm i @abw/badger-utils

Weekly Downloads

68

Version

1.1.0

License

MIT

Unpacked Size

134 kB

Total Files

31

Last publish

Collaborators

  • abw