$ npm install shopping-product-info
const getProductInfo = require('shopping-product-info');
async function ...() {
let product = await getProductInfo(url);
console.log(product);
}
getProductInfo(url)
.then(res => console.log(res));
$ npm install shopping-product-info
const getProductInfo = require('shopping-product-info');
async function ...() {
let product = await getProductInfo(url);
console.log(product);
}
getProductInfo(url)
.then(res => console.log(res));
npm i shopping-product-info
2
1.1.0
ISC
61.5 kB
7