thaw-common-utilities.ts

Common utility functions implemented in TypeScript.

Usage no npm install needed!

<script type="module">
  import thawCommonUtilitiesTs from 'https://cdn.skypack.dev/thaw-common-utilities.ts';
</script>

README

common-utilities.ts

Common utility functions implemented in TypeScript.

Obligatory BadgeFest:

circleci codeclimate git github npm packagephobia terminal typescript

status build status npm version latest tag npm total downloads watchers stars issues forks contributors branches releases commits last commit types install size known vulnerabilities lines of code technical debt maintainability test coverage tested with jest code style: prettier license FOSSA Status

Features

  • Self-contained: No run-time package dependencies!

Installation

To install the stable version:

npm install --save thaw-common-utilities.ts

API Information

Arrays

findSuperlativeElement<T>(array: T[], fn: (x: T, y:T) => T): T
max<T>(array: T[]): T
min<T>(array: T[]): T

Arrays of Numbers

Array Sorting

Asynchronous Functions

Date/Time Functions

JSON

Lazy Evaluation

Numbers

Objects

Regular Expressions

Strings

Types

Trees

Other Collections

License

MIT