# pub-util

> Utility toolbelt based on lodash v4 for pub-server and other pub-* packages

Latest version **4.0.0** (published 2026-01-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install pub-util
pnpm add pub-util
yarn add pub-util
bun add pub-util
```

## Health

**Score 45/100 (D)** — status: stable.

Positive: no vulnerabilities.

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

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-01-26 |
| First published | 2015-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 14.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jürgen Leschner |
| Maintainers | jldec |

## Links

- npm: https://www.npmjs.com/package/pub-util
- Repository: https://github.com/jldec/pub-server-monorepo
- Homepage: https://github.com/jldec/pub-server-monorepo#readme
- Issues: https://github.com/jldec/pub-server-monorepo/issues
- npm.io page: https://npm.io/package/pub-util

## Dependencies (3)

- [ms](https://npm.io/package/ms.md) ^2.1.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.23
- [date-plus](https://npm.io/package/date-plus.md) 2.0.0

## Recent versions

- 4.0.0 (latest) — 2026-01-26
- 3.3.0 — 2024-09-01
- 3.2.1 — 2022-01-09
- 3.2.0 — 2020-09-13
- 3.1.1 — 2020-07-26
- 3.1.0 — 2020-04-25
- 3.0.9 — 2020-02-16
- 3.0.8 — 2019-07-13
- 3.0.7 — 2019-04-14
- 3.0.6 — 2019-03-31
- 3.0.5 — 2019-02-10
- 3.0.4 — 2019-02-02
- 3.0.3 — 2019-01-04
- 3.0.2 — 2019-01-04
- 3.0.1 — 2019-01-01
- … 14 more at https://npm.io/package/pub-util/versions

## README

# pub-util

Utility toolbelt based on [lodash](https://lodash.com/) for pub-server and other pub-* packages

**extends lodash with:**
- some hand-coded functions
- [date-plus](https://www.npmjs.com/package/date-plus)
- [ms](https://www.npmjs.com/package/ms)
- select functions from node `util`, `querystring`, and `path`

### TODO
- more cleanup
- optimize and slim-down (separate lodash modules?)
- browser-testing

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