bower-name

Check whether a package name is available on bower

bower-name

Check whether a package name is available on bower

$ npm install --save bower-name
const bowerName = require('bower-name');
 
bowerName('jquery').then(available => {
console.log(available);
//=> false 
});

MIT © Sindre Sorhus