https://github.com/pnpm/remove-all-except-outer-links
Removes everything from a folder except external symlinks
https://github.com/pnpm/remove-all-except-outer-links
Last synced: 2 months ago
JSON representation
Removes everything from a folder except external symlinks
- Host: GitHub
- URL: https://github.com/pnpm/remove-all-except-outer-links
- Owner: pnpm
- License: mit
- Created: 2017-04-05T18:23:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-04-26T13:22:36.000Z (about 4 years ago)
- Last Synced: 2025-04-10T02:34:44.851Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 150 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# remove-all-except-outer-links
> Removes everything from a folder except external symlinks
[](https://www.npmjs.com/package/remove-all-except-outer-links) [](https://travis-ci.org/pnpm/remove-all-except-outer-links)
## Installation
```sh
npm i -S remove-all-except-outer-links
```## Usage
```js
const removeAllExceptOuterLinks = require('remove-all-except-outer-links')removeAllExceptOuterLinks('node_modules').then(() => console.log('done'))
```## License
[MIT](./LICENSE) © [Zoltan Kochan](https://www.kochan.io)