atom-package-upgrader

2.0.5 • Public • Published

Atom-Package-Upgrader

Atom-Package-Upgrader is an npm module for you to use in your atom packages. It makes sure that the user always has the latest and greatest version of your package installed. It will query the repos for any upgrades, if available, will install them for the user and show a nice notification along the way.

Note: You should always have a config in your package that lets users disable auto-updates.

Example

if (atom.config.get('my-package.autoUpdate')) {
  const subscription = require('atom-package-upgrader').upgrade()
  // On deactivate:
  subscription.dispose()
}

API

function upgrade(name = null): Disposable

If no name is provided to upgrade, it tries to guess based on __dirname.

LICENSE

This project is licensed under the terms of MIT license, See the license file or contact me for more info.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.5
    1
    • latest

Version History

Package Sidebar

Install

npm i atom-package-upgrader

Weekly Downloads

1

Version

2.0.5

License

MIT

Last publish

Collaborators

  • steelbrain