JSPM

  • Created
  • Published
  • Downloads 774238
  • Score
    100M100P100Q180265F
  • License BSD-3-Clause

Commonly needed utilities for TypeScript and JavaScript

Package Exports

  • @salesforce/kit
  • @salesforce/kit/lib
  • @salesforce/kit/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@salesforce/kit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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 for more details on each of the utilities that kit provides.

References

This library depends upon another Salesforce TypeScript library, @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.