fix(package): update smartopen to @pushrocks/smartopen
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
# smartupdate
|
||||
|
||||
update your tools in a smart way
|
||||
|
||||
## Availabililty
|
||||
|
||||
[](https://www.npmjs.com/package/smartupdate)
|
||||
[](https://GitLab.com/pushrocks/smartupdate)
|
||||
[](https://github.com/pushrocks/smartupdate)
|
||||
[](https://pushrocks.gitlab.io/smartupdate/)
|
||||
|
||||
## Status for master
|
||||
|
||||
[](https://GitLab.com/pushrocks/smartupdate/commits/master)
|
||||
[](https://GitLab.com/pushrocks/smartupdate/commits/master)
|
||||
[](https://www.npmjs.com/package/smartupdate)
|
||||
@@ -19,6 +22,7 @@ update your tools in a smart way
|
||||
[](http://standardjs.com/)
|
||||
|
||||
## Usage
|
||||
|
||||
Use TypeScript for best in class instellisense.
|
||||
|
||||
smartupdate makes it really easy to notify your tool users about new versions:
|
||||
@@ -28,14 +32,16 @@ import * as smartupdate from 'smartupdate';
|
||||
|
||||
// the following command will check npm for a version newer than the specified one.
|
||||
// It will open the specified URL if a newer version is actually found.
|
||||
await smartupdate
|
||||
.standardHandler
|
||||
.check('lodash', '1.0.5', 'http://gitzone.gitlab.io/npmts/changelog.html')
|
||||
await smartupdate.standardHandler.check(
|
||||
'lodash',
|
||||
'1.0.5',
|
||||
'http://gitzone.gitlab.io/npmts/changelog.html'
|
||||
);
|
||||
```
|
||||
|
||||
For further information read the linked docs at the top of this README.
|
||||
|
||||
> MIT licensed | **©** [Lossless GmbH](https://lossless.gmbh)
|
||||
| By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
||||
> | By using this npm module you agree to our [privacy policy](https://lossless.gmbH/privacy.html)
|
||||
|
||||
[](https://push.rocks)
|
||||
|
||||
Reference in New Issue
Block a user