Home

Awesome

npm-user-packages Build Status

Get packages by a npm user

Install

$ npm install npm-user-packages

Usage

const npmUserPackages = require('npm-user-packages');

npmUserPackages('kevva').then(data => {
	console.log(data);
	//=> [{name: 'advpng-bin', description: '...', ...}, ...]
});

API

npmUserPackages(username)

username

Type: string

User to fetch packages from.

Related

License

MIT © Kevin Mårtensson