
Product
Introducing Webhook Events for Pull Request Scans
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
amalgamatic-libguides
Advanced tools
LibGuides plugin for Amalgamatic
Install amalgamatic and this plugin via npm
:
npm install amalgamatic amalgamatic-libguides
var amalgamatic = require('amalgamatic'),
libguides = require('amalgamatic-libguides');
// Set the URL to point to your LibGuides search page
libguides.setOptions({url: 'http://guides.ucsf.edu/srch.php'});
// If there are additional URL parameters you want to specify, use the urlParameters option:
// libguides.setOptions({urlParameters: {foo: 'bar', boo: 'baz'}};
// Add this plugin to your Amalgamatic instance along with any other plugins you've configured.
amalgamatic.add('libguides', libguides);
//Use it!
var callback = function (err, results) {
if (err) {
console.dir(err);
} else {
results.forEach(function (result) {
console.log(result.name);
console.dir(result.data);
});
}
};
amalgamatic.search({searchTerm: 'medicine'}, callback);
This uses phantomjs
to scrape the search page because the LibGuides API does not return the same results in the same order. Therefore, you must have phantomjs
installed to use this plugin.
FAQs
LibGuides plugin for amalgamatic
The npm package amalgamatic-libguides receives a total of 75 weekly downloads. As such, amalgamatic-libguides popularity was classified as not popular.
We found that amalgamatic-libguides 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.
Product
Add real-time Socket webhook events to your workflows to automatically receive pull request scan results and security alerts in real time.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.