Files
pnpm/fs/packlist
Zoltan Kochan 5d5818e44f style: enforce node: protocol for builtin imports (#10951)
Add n/prefer-node-protocol rule and autofix all bare builtin imports
to use the node: prefix. Simplify the simple-import-sort builtins
pattern to just ^node: since all imports now use the prefix.
2026-03-13 07:59:51 +01:00
..
2024-04-09 17:14:05 +02:00
2026-02-18 14:54:09 +01:00

@pnpm/fs.packlist

Get a list of the files to add from a directory into an npm package

npm version

Installation

pnpm add @pnpm/fs.packlist

Usage

const { packlist } = require('@pnpm/fs.packlist')

const files = packlist('/package-dir')

License

MIT © Zoltan Kochan