npm
Helper functions for the npm package manager.
Functions
isLoggedInToNPM()
function isLoggedInToNPM(): Promise<boolean>
Defined in: functions/npm.ts:13
Helper function to check if the npm CLI tool is logged in. This is useful to throw an error before publishing.
Returns
Promise
<boolean
>