Canonical way to get a list of all stdibs

What is the best way to get this vector?

stdlibs = [

Pkg.Types.get_last_stdlibs(VERSION) (or Symbol.(first.(values(Pkg.Types.get_last_stdlibs(VERSION)))) if only want those symbols) but this is internal Pkg API amenable to be broken at any point, use at your own risk.


Thanks! That’s good but not ideal.

What would be ideal exactly?

A single, documented function call or global constant that will keep working for all of 1.x would be ideal.


Most of Pkg functions are undocumented and non-public :person_shrugging: but if you need that in Julia Base, it shouldn’t be a problem.

1 Like