Socket
Socket
Sign inDemoInstall

@sajari/sdk-react

Package Overview
Dependencies
109
Maintainers
5
Versions
75
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sajari/sdk-react

React SDK for the Sajari API


Version published
Weekly downloads
12
decreased by-91.43%
Maintainers
5
Install size
14.1 MB
Created
Weekly downloads
 

Readme

Source

Sajari React SDK

npm (scoped) Travis license

@sajari/sdk-react is a client side javascript library of React Components for the Sajari search platform to help build fast and powerful search interfaces.

React provides a simple and elegant way to structure user interfaces. The Sajari React SDK provides a way to seamlessly integrate the Sajari platform into any web-based app through the use of easily composable Components.

We also provide a vanilla Sajari JS library here.

sajari search ui

Table of contents

Examples

It's easy to get up and running using one of our examples as a starting point. They're pre-configured with all the correct dependencies, so all you need to do is copy the example directory into your own workspace and you're on your way!

  • Basic: basic search box, hit enter to search (View, Edit).
  • Typeahead with Instant Search: search box with typeahead autocomplete and instant search enabled (View, Edit).
  • Suggestions Dropdown: search box with drop-down autocomplete suggestions (View, Edit).
  • Radio/checkbox: radio/checkbox filtering (View, Edit).
  • Radio/checkbox Facets: radio/checkbox filtering and facets (View, Edit).
  • Custom Result Renderer: custom result renderer (View, Edit)

Installation

This module is distributed via npm which is bundled with node and should be installed as one of your project's dependencies:

We distribute the @sajari/sdk-react library through NPM.

$ npm install --save @sajari/sdk-react

This package also depends on react. Please make sure you have those installed as well.

Quick setup

See the quick setup guide to setup a basic search.

Documentation

For documentation, see sajari-sdk-react.netlify.app.

License

We use the MIT license

Browser support

The browser support is dependent on the React library, which currently supports recent versions of Chrome, Firefox, Sajari, Opera, and IE9+. (17/8/2016)

Keywords

FAQs

Last updated on 07 Jan 2021

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc