mirror of
https://github.com/pnpm/pnpm.git
synced 2026-04-10 18:18:56 -04:00
26 lines
459 B
Markdown
26 lines
459 B
Markdown
# @pnpm/fs.packlist
|
|
|
|
> Get a list of the files to add from a directory into an npm package
|
|
|
|
<!--@shields('npm')-->
|
|
[](https://www.npmjs.com/package/@pnpm/fs.packlist)
|
|
<!--/@-->
|
|
|
|
## Installation
|
|
|
|
```sh
|
|
pnpm add @pnpm/fs.packlist
|
|
```
|
|
|
|
## Usage
|
|
|
|
```js
|
|
const { packlist } = require('@pnpm/fs.packlist')
|
|
|
|
const files = packlist('/package-dir')
|
|
```
|
|
|
|
## License
|
|
|
|
MIT © [Zoltan Kochan](https://www.kochan.io)
|