Skip to main content

Module locate

Module locate 

Source
Expand description

Find a dependency’s installed sources on this machine: node_modules, Python site-packages, the Cargo registry and the Go module cache.

Structs§

Source
Where a package’s files are.

Functions§

dist_infos
A dist-info directory in sp for name, with its version.
go_escape
Go module cache path escaping: A -> !a.
locate
npm_installed
Installed version of an npm package reachable from root.
pnp_zip_prefix
Yarn Berry cache zip name prefix: zod-npm-3.23.8-, @types-node-npm-20.1.0-.
python_source
site_packages
site-packages directories for a project: local virtualenvs first, then the active environment, then the system interpreter.
tilde