Import packages into Postman

You can import packages into pre-request scripts and post-response scripts in your team's HTTP collections. Add internal scripts and tests to your team's Package Library, and import the package in your internal workspaces. You can also import public packages from external package registries, such as npm or JSR.

Create and import internal scripts as packages

With the Package Library, your team can store commonly used scripts and tests as packages. Team members can access the packages in your team's Package Library and reuse them in internal workspaces.

To learn more, see Add internal scripts to the Package Library in Postman.

Import public packages from external registries

Importing external packages is available with Postman Free, Basic, and Professional teams.

In Postman, you can search npm and JSR package registries for public packages you'd like to use in your scripts. Public packages are supported in your internal, partner, or public workspaces.

To learn more, see Import packages from external registries in Postman.

Last modified: 2025/04/11