Is there a way to access the package info from Ballerina.toml (org, name or version) in code?

Viewed 136

I'm trying to read the details from Ballerina.toml in code.

e.g. given the following, how can I access the name value from a module .bal file?

[package]
org = "myOrg"
name = "pkg"
version = "0.1.0"
1 Answers
Related