Package Exports
- google-sr
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (google-sr) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Google-sr
Yet another library to do google searches.
Below is a simple example of using this package
Usage
with .then
Without safe mode
const search = require('google-sr');
search('node.js', { safe: false }).then(r => console.log(r))With safe mode
const search = require('google-sr');
search('node.js').then(r => console.log(r))With async/await
const search = require('google-sr');
const res = await search('node.js')
// search('node.js', { safe: false }) for without safe mode
console.log(res)Support
Join my discord server for support: discord