@salesforce/packaging
Version:
Packaging library for the Salesforce packaging platform
23 lines (13 loc) • 1.55 kB
Markdown
# Salesforce Packaging
[](https://www.npmjs.com/package/@salesforce/packaging) [](https://npmjs.org/package/@salesforce/packaging) [](https://opensource.org/license/apache-2-0)
## Description
A TypeScript library for packaging metadata in your Salesforce project. This library supports both First-Generation packaging (1GP) and Second-Generation packaging (2GP).
## Usage
There are 4 main classes to use from this library:
1. [Package1Version](https://forcedotcom.github.io/packaging/classes/package1_package1Version.Package1Version.html) - Work with 1st generation package versions.
1. [Package](https://forcedotcom.github.io/packaging/classes/package_package.Package.html) - Work with 2nd generation packages.
1. [PackageVersion](https://forcedotcom.github.io/packaging/classes/package_packageVersion.PackageVersion.html) - Work with 2nd generation package versions.
1. [SubscriberPackageVersion](https://forcedotcom.github.io/packaging/classes/package_subscriberPackageVersion.SubscriberPackageVersion.html) - Work with 2nd generation subscriber package versions.
Please reference the [API Documentation](https://forcedotcom.github.io/packaging/) for complete details of code and types.
## Contributing
If you are interested in contributing, please take a look at the [CONTRIBUTING](CONTRIBUTING.md) guide.