@salesforce/packaging

Salesforce Packaging

NPM Downloads/week License

A TypeScript library for packaging metadata in your Salesforce project. This library supports both First-Generation packaging (1GP) and Second-Generation packaging (2GP).

There are 4 main classes to use from this library:

  1. Package1Version - Work with 1st generation package versions.
  2. Package - Work with 2nd generation packages.
  3. PackageVersion - Work with 2nd generation package versions.
  4. SubscriberPackageVersion - Work with 2nd generation subscriber package versions.

Please reference the API Documentation for complete details of code and types.

If you are interested in contributing, please take a look at the CONTRIBUTING guide.