# How to export all the names of a package that is used in a package in development?

**URL:** https://discourse.julialang.org/t/how-to-export-all-the-names-of-a-package-that-is-used-in-a-package-in-development/111797
**Category:** General Usage
**Tags:** question, package
**Created:** [March 19, 2024, 3:16am UTC](https://discourse.julialang.org/t/how-to-export-all-the-names-of-a-package-that-is-used-in-a-package-in-development/111797 "2024-03-19T03:16:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)
#### Post date: [March 19, 2024, 3:16am UTC](https://discourse.julialang.org/t/how-to-export-all-the-names-of-a-package-that-is-used-in-a-package-in-development/111797/1 "2024-03-19T03:16:06Z")

</div>

For example, I am developing a new package called `PkgB` and `PkgA` is used in it. I want to export all the names form `PkgA` to the outside of `PkgB` so that the users of `PkgB` can directly invoke the names from `PkgA` without `using PkgA` in their code. How should I write in `PkgB.jl`?

I’m not sure whether this kind of requirement is meaningful or recommendable. 🤔

---

<div class="post-metadata">

### Author: ![magister-ludi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/magister-ludi/32/4003_2.png) [@magister-ludi](https://discourse.julialang.org/u/magister-ludi)
#### Post date: [March 19, 2024, 4:11am UTC](https://discourse.julialang.org/t/how-to-export-all-the-names-of-a-package-that-is-used-in-a-package-in-development/111797/2 "2024-03-19T04:11:32Z")

</div>

You’re looking for [Reexport.jl](https://juliahub.com/ui/Packages/General/Reexport).

---

<div class="post-metadata">

### Author: ![WuSiren](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wusiren/32/42529_2.png) [@WuSiren](https://discourse.julialang.org/u/WuSiren)
#### Post date: [March 19, 2024, 5:28am UTC](https://discourse.julialang.org/t/how-to-export-all-the-names-of-a-package-that-is-used-in-a-package-in-development/111797/3 "2024-03-19T05:28:40Z")

</div>

That is it. Thanks!
