0.2.0 • Published 7 years ago

upself v0.2.0

Weekly downloads
4
License
ISC
Repository
github
Last release
7 years ago

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

Build Status Coverage Status npm version unstable

Install

npm install upself --save

Usage

import upself from "upself";    
upself({timeout: 20000}); // check new version every 20 seconds

Tests

npm install
npm test