- pip package that gets information about pip packages and other info from the pip API
Installation from NPM
npm i pip-searcher
search(package_name)
- Get a pip packagepackage_name
: (REQUIRED) pip package name
const pip = require('pip-searcher')
async function getPip() {
const res = await pip.search('NumPy')
console.log(res) // All information related to the express package
}
getPip()
const pip = require('pip-searcher')
pip.search('NumPy').then(res => {
console.log(res) // All information related to the express package
})
const pip = require('pip-searcher')
pip.search('NumPy').then(res => {
if (res) {
console.log(res) // All information related to the express package
} else {
console.log("package not found");
}
})
© pip-searcher, 2021 | abdooo9 ([email protected])