# @salesforce/kit

> Commonly needed utilities for TypeScript and JavaScript

Latest version **4.0.0** (published 2026-07-29) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @salesforce/kit
pnpm add @salesforce/kit
yarn add @salesforce/kit
bun add @salesforce/kit
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 4.0.0 |
| Published | 2026-07-29 |
| First published | 2018-08-21 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=22.0.0 |
| Dependencies | 1 |
| Unpacked size | 137 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Salesforce |
| Maintainers | ire-npm-team-user, jimjag, salesforce-releases, jasonschroeder-sfdc, mobify, lwc-admin, salesforce-admin |

## Links

- npm: https://www.npmjs.com/package/@salesforce/kit
- Repository: https://github.com/forcedotcom/kit
- Homepage: https://github.com/forcedotcom/kit#readme
- Issues: https://github.com/forcedotcom/kit/issues
- npm.io page: https://npm.io/package/@salesforce/kit

## Dependencies (1)

- [@salesforce/ts-types](https://npm.io/package/@salesforce/ts-types.md) ^3.0.0

## Recent versions

- 4.0.0 (latest) — 2026-07-29
- 3.0.14-qa.1 (qa) — 2023-10-12
- 3.2.6 — 2026-03-26
- 3.2.5 — 2026-03-23
- 3.2.4 — 2025-09-03
- 3.2.3 — 2024-09-12
- 3.2.2 — 2024-08-31
- 3.2.1 — 2024-08-04
- 3.2.0 — 2024-07-30
- 3.1.6 — 2024-06-18
- 3.1.5 — 2024-06-16
- 3.1.4 — 2024-06-13
- 3.1.3 — 2024-06-09
- 3.1.2 — 2024-05-24
- 3.1.1 — 2024-04-15
- … 122 more at https://npm.io/package/@salesforce/kit/versions

## README

# Utilities for Salesforce CLI development

## What is this?

A collection of commonly needed utilities used by the Salesforce CLI and the libraries it is built on. It includes high level support for parsing and working with JSON data, interacting with environment variables, a common error base type, a minimal lodash replacement, and support for commonly needed design patterns, among other things. It is intended specifically for use in Node.js (version 8 or newer) projects -- YMMV in the browser.

see the [API documentation](https://forcedotcom.github.io/kit) for more details on each of the utilities that `kit` provides.

## References

This library depends upon another Salesforce TypeScript library, [@salesforce/ts-types](https://www.npmjs.com/package/@salesforce/ts-types). The API documentation for this library refers to several types that you will find in `ts-types`. Some `lodash` replacement functions are also found in `ts-types`.

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