Packages & Versions
PackForge organizes resources into packages, versions and files. Understanding this structure makes it easier to find and use the exact dependency your project needs.
What is a package?
A package represents a library or dependency available through PackForge.
Each package has its own details page where you can review package information, available versions and files provided for those versions.
Package details
Opening a package takes you to its dedicated details page.
Depending on the package information available, the page can include:
- Package name and description
- Package category and registry
- Available versions
- Latest available version
- Files available for each version
- Ready-to-copy CDN references
Package versions
A package can contain multiple versions. This lets you choose the version required by your application.
If your project depends on a specific version, use that exact version rather than automatically switching to the newest one.
What does Latest mean?
The Latest label identifies the newest version currently available for a package in PackForge.
A newer package version does not automatically change the CDN reference already used by your application.
Files inside a version
Each package version can contain one or more files. The available files depend on the package.
Using a version file
Once you've selected a version and file, PackForge provides the corresponding CDN reference.
CSS example
<link href="https://cdn.packforge.ir/{file-path}" rel="stylesheet">
JavaScript example
<script src="https://cdn.packforge.ir/{file-path}"></script>
Missing package or missing version?
PackForge distinguishes between requesting an entirely missing package and requesting a version of a package that already exists.
Package request
Use this when you can't find the package itself in PackForge.
Version request
Use this when the package exists but the version you need isn't available.