0.2.0 • Published 7 years ago
upself v0.2.0
upself ♻ self-update global npm package.
Library check every N seconds npm registry for new version of package, which required upself
.
Then start npm install packName -g
.
And if update made without errors, restart process.
That is all 🎅.
!!! Now not have tests, only type-checking
Install
npm install upself --save
Usage
import upself from "upself";
upself({timeout: 20000}); // check new version every 20 seconds
Tests
npm install
npm test