# @julien.cousineau/util

> Utility functions for Javascript

Latest version **1.0.21** (published 2018-11-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @julien.cousineau/util
pnpm add @julien.cousineau/util
yarn add @julien.cousineau/util
bun add @julien.cousineau/util
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.21 |
| Published | 2018-11-15 |
| First published | 2018-07-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 379.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Julien Cousineau |
| Maintainers | julien.cousineau |
| Keywords | utility |

## Links

- npm: https://www.npmjs.com/package/@julien.cousineau/util
- Repository: https://github.com/Julien-Cousineau/util
- Homepage: https://github.com/Julien-Cousineau/util#readme
- Issues: https://github.com/Julien-Cousineau/util/issues
- npm.io page: https://npm.io/package/@julien.cousineau/util

## Dependencies (4)

- [d3-scale](https://npm.io/package/d3-scale.md) ^2.1.2
- [csscolorparser](https://npm.io/package/csscolorparser.md) ^1.0.3
- [d3-interpolate](https://npm.io/package/d3-interpolate.md) ^1.3.2
- [material-colors](https://npm.io/package/material-colors.md) ^1.2.6

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.21 (latest) — 2018-11-15
- 1.0.20 — 2018-11-15
- 1.0.19 — 2018-11-15
- 1.0.18 — 2018-11-15
- 1.0.17 — 2018-11-13
- 1.0.16 — 2018-11-13
- 1.0.15 — 2018-11-10
- 1.0.14 — 2018-11-03
- 1.0.13 — 2018-10-31
- 1.0.12 — 2018-10-31
- 1.0.11 — 2018-10-19
- 1.0.10 — 2018-09-27
- 1.0.9 — 2018-08-29
- 1.0.7 — 2018-08-24
- 1.0.6 — 2018-08-22
- … 6 more at https://npm.io/package/@julien.cousineau/util/versions

## README

# util
Utility functions
Functions
range
extend
isFloat32Array
isUint32Array
isArray
humanFileSize
getFileExtension
debounce

## String.prototype
format
lpad
rpad
getHostName
replaceAll
padZero

## Date.prototype
Date
addHours

## Number.prototype
padZero
clamp
ordermag

## Array and TypedArray.prototype
range
random
clamp
min
max
add
subtract
multiply
divide
compare
move
sortIndices

---
_Source: https://npm.io/package/@julien.cousineau/util · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
