
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Wrapper for suggestqueries.google.com queries. Gets the autocomplete suggestions that the Google search bar would give you if you were typing in it.
This module gets you Google Search autocomplete suggestions for given strings. It's a wrapper around calls to suggestqueries.google.com as documented in Sheryas Chand's blog post.
(The joke in the module name is derived from incompl's username.)
npm install autocompl
var autocompl = require('../autocompl');
autocompl('Batman and', function done(error, suggestions) {
console.log(suggestions);
});
Output:
[
'batman and robin',
'batman and robin costumes',
'batman and catwoman',
'batman and superman',
'batman and wonder woman',
'batman and robin quotes',
'batman and son',
'batman and robin 35',
'batman and robin poison ivy',
'batman and superman team up'
]
It will also take a opts object as the first paramter that lets you specify:
partialSearchTerm
: The search string you want autocompleted.request
: A function that has the same signature as request, in case you want to have another module handle http.Run tests with make test
.
MIT.
FAQs
Wrapper for suggestqueries.google.com queries. Gets the autocomplete suggestions that the Google search bar would give you if you were typing in it.
We found that autocompl demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.