How to get a package's path dynamically?


#1

I’m trying to figure out how to dynamically get the path name of the package I’m developing, to link local assets. Is there a method for this in the API that I am missing?


#2

nvm, I realized it can be easily achieved via:
atom.packages.resolvePackagePath("name-of-your-package")

:nerd_face: