Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

Whoa, homebridge-batteryservice does not exist yet

But that means it is now yours!

$ mkdir homebridge-batteryservice
$ cd homebridge-batteryservice
$ yarn init

Make your package

$ yarn publish