# Sharing packages from package library

**URL:** <https://community.postman.com/t/sharing-packages-from-package-library/74473>\
**Category:** Help Hub\
**Tags:** package-library\
**Created:** [January 27, 2025, 6:22pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473 "2025-01-27T18:22:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmedahmedeg](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@ahmedahmedeg](https://community.postman.com/u/ahmedahmedeg)\
**Post date:** [January 27, 2025, 6:22pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/1 "2025-01-27T18:22:05Z")

</div>

What’s the options I have to be able to share the package I wrote inside my package library with others?

I couldn’t find a way to export them, when I export a collection that depends on them It includes the id of the packages in the exported JSON file and that’s it.

Is there’s no way currently to do this? and if not is such a feature planned in the future?

And assuming I gave others a copy of the packages code and it’s name for them to manually add them, the exported collections reference packages by id and not name, does this means they will have to reassign the packages manually for every collection?

---

<div class="post-metadata">

**Author:** ![cruxto](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@cruxto](https://community.postman.com/u/cruxto)\
**Post date:** [January 28, 2025, 8:39am UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/2 "2025-01-28T08:39:47Z")

</div>

Welcome @ahmedahmedeg ,

As far as I’m aware, there is currently no way of sharing package libraries.  
Because the package libraries are linked to your team name as part of the package name.

for example

```auto
const helper = pm.require('@teamname/helper');

```

So it will not be easily transferred to other users, I’m sure there will be more development in this area to allow people to share package libraries but it’s not there yet.

If you want to share functions add them to the collection in the Pre-request for test scripts area. These can be shared a lot easier.

I think the Package library is a great feature, but it’s still a relatively new feature and it needs time to mature to include the ability to share, and versioning of the package would be great too.

---

<div class="post-metadata">

**Author:** ![docking-module-parti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/docking-module-parti/32/33436_2.png) [@docking-module-parti](https://community.postman.com/u/docking-module-parti)\
**Post date:** [January 29, 2025, 6:15pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/3 "2025-01-29T18:15:58Z")

</div>

Package libraries are shared by default with the whole team to ease collaboration. Everyone in your team can access and use package libraries in their APIs.

Since package libraries are stored at a team level, they aren’t exported along with the collection.

One of the best ways you can collaborate on APIs [irrespective of packages] is to use a team workspace, and invite members to your team.

---

<div class="post-metadata">

**Author:** ![ahmedahmedeg](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@ahmedahmedeg](https://community.postman.com/u/ahmedahmedeg)\
**Post date:** [January 29, 2025, 9:28pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/4 "2025-01-29T21:28:14Z")

</div>

I understand that using teams is the best solution, problem is when I am sharing outside the team, like on github, I can’t invite every single person to my team, I just want to share the files on the repo so anyone and download and import it.

---

<div class="post-metadata">

**Author:** ![docking-module-parti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/docking-module-parti/32/33436_2.png) [@docking-module-parti](https://community.postman.com/u/docking-module-parti)\
**Post date:** [January 29, 2025, 10:21pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/5 "2025-01-29T22:21:51Z")

</div>

Can you share a bit more on the Github sharing?  
Is your Github repo public and you want to showcase your collection/request to anyone on the internet?

---

<div class="post-metadata">

**Author:** ![ahmedahmedeg](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@ahmedahmedeg](https://community.postman.com/u/ahmedahmedeg)\
**Post date:** [January 29, 2025, 10:52pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/6 "2025-01-29T22:52:28Z")

</div>

A public repo for an open source project, and yes, the collection should be public available to anyone on the internet.

I mean, technically, I can post the packages code along with their names and write down the steps to add them manually to the workspace, but it whould have been alot nicer to have it exported like the rest of the collections and environments.

---

<div class="post-metadata">

**Author:** ![cruxto](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@cruxto](https://community.postman.com/u/cruxto)\
**Post date:** [January 30, 2025, 1:52pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/7 "2025-01-30T13:52:01Z")

</div>

@ahmedahmedeg, Given your scenario, I’d recommend adding the shared code to the collection as that will be shared automatically as it will be self-contained in the file.

---

<div class="post-metadata">

**Author:** ![docking-module-parti](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/docking-module-parti/32/33436_2.png) [@docking-module-parti](https://community.postman.com/u/docking-module-parti)\
**Post date:** [January 30, 2025, 7:41pm UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/8 "2025-01-30T19:41:57Z")

</div>

Aah got it! This is good feedback.  
We are looking to explore the possibility of bringing Package library in the context of Public workspaces, and the Public API Network. We’ll keep posted on this

---

<div class="post-metadata">

**Author:** ![cruxto](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@cruxto](https://community.postman.com/u/cruxto)\
**Post date:** [February 6, 2025, 10:04am UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/9 "2025-02-06T10:04:30Z")

</div>

For me, It would be useful for the package library to be controlled, because If I share a collection to someone who just need to run the collection (Normally a Guest).

I don’t need them to have view/edit access to the package library. Just being able to run the collection is enough.

If I’m sharing this with people within our team and they are editor / admin then obviously they will need to full CRUD access to the library.

---

<div class="post-metadata">

**Author:** ![lunar-module-special](https://avatars.discourse-cdn.com/v4/letter/l/53a042/32.png) [@lunar-module-special](https://community.postman.com/u/lunar-module-special)\
**Post date:** [September 16, 2025, 12:49am UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/10 "2025-09-16T00:49:27Z")

</div>

Please update example code to:

`const helper = pm.require(‘@team-domain/helper‘);`

thanks.

---

<div class="post-metadata">

**Author:** ![cruxto](https://avatars.discourse-cdn.com/v4/letter/c/f0a364/32.png) [@cruxto](https://community.postman.com/u/cruxto)\
**Post date:** [October 20, 2025, 11:25am UTC](https://community.postman.com/t/sharing-packages-from-package-library/74473/11 "2025-10-20T11:25:24Z")

</div>

Unfortunately, I can’t edit the post, so it will stop as it is.  
But people can see you comment too.

Cheers.
