Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

clean-npm-tmp

1.1.2 • Public • Published

This is a follow up to the issue about npm https://github.com/npm/npm/issues/6855, which keeps git folder in the tmp when installing from git dependencies, like git+ssh://git@github.com/nemisj/clean-npm-tmp.git.

This version package supports both windows and Linux.

Usage

In order to use it, you have to include clean-npm-tmp as dependency:

npm i --save clean-npm-tmp

and add the execution into the postinstall

{
  "name": "XXX-YYY-Zzz",
  "version": "1.0.0",
  "postinstall": "clean-npm-tmp"
}

Keywords

none

Install

npm i clean-npm-tmp

DownloadsWeekly Downloads

2,448

Version

1.1.2

License

MIT

Last publish

Collaborators

  • avatar