
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
abstract-search
Advanced tools
[](https://nodei.co/npm/abstract-search/)
A search interface for requesting http pages from websites.
searcher = search([opts])
A search portal, for example CKAN, will have various instances deployed across the web.
uri
: the location. will be optional and default to the canonical deployment (e.g., figshare) or might be required depending on the type of search host.
version
: can be helpful if in case the search api has changed between versions.
timeout
: if supplied, the search is stopped after a particular amount of time.
stream = searcher.stream(query)
Returns a stream that emits results of a query.
A query
is an object to be interpreted by the consumer.
Specify fulltext
to do a simple fulltext search. For example,
var query = {
`fulltext`: 'this is my query'
}
stream.on('data')
Return search results as objects. Each emit of data should be an array of results.
searcher.url
String. A consumer should be able to access the url as a property.
searcher.version
String.
searcher.name
String.
searcher.auth(credentials)
The user should be able to define credentials that the searcher is uses for running queries.
FAQs
[](https://nodei.co/npm/abstract-search/)
The npm package abstract-search receives a total of 3 weekly downloads. As such, abstract-search popularity was classified as not popular.
We found that abstract-search 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.