# @clerksystems/utilities

> Clerk Utility Functions

Latest version **2.0.0** (published 2026-02-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install @clerksystems/utilities
pnpm add @clerksystems/utilities
yarn add @clerksystems/utilities
bun add @clerksystems/utilities
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2026-02-06 |
| First published | 2019-05-02 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 158 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kevin Kleine, Clerk Systems |
| Maintainers | kevinkleine, jwverzijden, clerk-systems |
| Keywords | clerk, util, utility |

## Links

- npm: https://www.npmjs.com/package/@clerksystems/utilities
- Repository: https://github.com/dutchanddutch/utilities
- Issues: https://github.com/dutchanddutch/utilities/issues
- npm.io page: https://npm.io/package/@clerksystems/utilities

## 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

- 2.0.0 (latest) — 2026-02-06
- 1.0.1 — 2019-08-12
- 1.0.0 — 2019-05-02

## README

```
functions array.js
	flatten
	uniqueArray
	isArray
	inArray
	average
	forceArray
functions file.js
	readFile
	readDir
	isTrueDirEntry
	filterActualFiles
	filterActualDirectories
	getFullContentPaths
	getExistingFiles
	getExistingDirectories
	fileExistsSync
	fileExists
	directoryExists
	dirExists
	dirExistsSync
	readJsonFileIfExists
	createFileIfNotExistsSync
	createDirIfNotExistsSyncRecursivly
	createDirIfNotExistsSync
	createDirIfNotExists
	deleteFileIfExistsSync
	deleteFileIfExists
	rmdirRecursivelySync
	rmdirRecursively
	emptyDirectory
	humanizedFileSize
	getFileExtension
	getFileNameFromUrl
	createDirStructure
functions function.js
	promisify
	promiseToFnAll
	promiseToMapAll
	callerName
	getErrorObject
functions math.js
	log10
functions object.js
	clone
	objectSize
	forceTemplate
	mergeObjects
	identicalKeys
	typeOf
	surroTypeOf
	findEntry
	sortKeys
	getKeys
	addGetter
	forObject
functions string.js
	ucfirst
	isValidEmailAddress
	sortVersions
functions time.js
	timestamp
	humanizedTimestamp
	humanizedTimeSpan
```

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