Represents an npm user, providing authenticated access to user profile information and package names associated with the account.

These endpoints require a registry auth token.

const npm = new NpmClient({ token: 'npm_...' });

const user = await npm.user('pilmee').get();
const packages = await npm.user('pilmee').packages();

Methods

Methods