Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
algoliasearch-helper
Advanced tools
Readme
Coming from V1 (or js client v2)? Read the migration guide to the new version of the Helper.
This module is the companion of the algoliasearch-client-js. It helps you keep track of the search parameters and provides a higher level API.
The helper is built on top of algoliasearch-client-js and this version is specifically made to work with the newest V3 versions of it.
A small example that uses Browserify to manage modules.
var algoliasearch = require( "algoliasearch" );
var algoliasearchHelper = require( "algoliasearch-helper" );
var client = algoliasearch( "app_id", "secret" );
var helper = algoliasearchHelper( client, "myMainIndex", {
facets : [ "mainCharacterFirstName", "year" ],
disjunctiveFacets : [ "director" ]
});
helper.on( "result", function( data ){
console.log( data.hits );
} );
helper.addDisjunctiveRefine( "director", "Clint Eastword" );
helper.addDisjunctiveRefine( "director", "Sofia Coppola" );
helper.addNumericRefine( "year", "=", 2003 );
// Search for any movie filmed in 2003 and directed by either C. Eastwood or S. Coppola
helper.search();
npm install algoliasearch-helper
bower install algoliasearch-helper
Include this in your page :
<script src="//cdn.jsdelivr.net/algoliasearch.helper/2.0.0/algoliasearch.helper.min.js"></script>
git clone https://github.com/[your-handle-here]/algoliasearch-helper-js.git
npm run dev
npm run lint
A quick note though, even though we'll make our best to read and integrate your PR, we may be a bit slow. Sorry :). We might also make some comments and discussions too, for the best interest of this library. Thanks in advance for your contribution!
FAQs
Helper for implementing advanced search features with algolia
We found that algoliasearch-helper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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.
Research
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.