import Now from 'now-client' const now = new Now('YOUR TOKEN') const deployments = await now.getDeployments() console.log(deployments) // Your ZEIT now deployments
ZEIT's now is great, but back in the days, it was missing a visual interface to manage your deployments. Luckily at that time, they released an API, which got me interested in building a Now desktop client.
While dabbling around with a proof of concept, I found it cumbersome to interact with the API directly. A wrapper seemed like a good solution to "dry" things up – so I decided to write now-client. I didn't end up building the desktop app and most likely never will, since Now Desktop is fantastic already. But hey, early versions of Now Desktop were based on now-client, so I guess everything went as planned.