Toggle macOS Sierra hotplug on and off
npm install toggle-hotplug
> Toggle macOS Sierra hotplug on and off
```
$ yarn add toggle-hotplug
`js
const { isOn, toggle } = require('toggle-hotplug')
await isOn()
// => false
await toggle()
// => true
`
All methods return a promise`
#### isOn()
Returns a Promise
#### toggle()
Inverse the hotplug state.
- toggle-hotplug-cli — CLI for this module
MIT © Bu Kinoshita