Get a list of the files to add from a directory into an npm package
pnpm add @pnpm/fs.packlist
const { packlist } = require('@pnpm/fs.packlist')
const files = packlist('/package-dir')
MIT © Zoltan Kochan
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Get a list of the files to add from a directory into an npm package
pnpm add @pnpm/fs.packlist
const { packlist } = require('@pnpm/fs.packlist')
const files = packlist('/package-dir')
MIT © Zoltan Kochan