ls-exports
Version:
CLI for `list-exports`: Given a package name and a version number, or a path to a package.json, what specifiers does it expose?
14 lines (10 loc) • 415 B
Plain Text
ls-exports - List the exports for a package
Usage:
ls-exports [options] <command>
Commands:
package <specifier> List exports for a package (with optional version)
Examples: foo, /foo, foo@^1
path <path> List exports for a local directory containing package.json
Options:
--json Output the results as JSON
--help Show this help message