Gathering detailed insights and metrics for @searchkit/sdk
Gathering detailed insights and metrics for @searchkit/sdk
Gathering detailed insights and metrics for @searchkit/sdk
Gathering detailed insights and metrics for @searchkit/sdk
React + Vue Search UI for Elasticsearch & Opensearch. Compatible with Algolia's Instantsearch and Autocomplete components.
npm install @searchkit/sdk
Typescript
Module System
Node Version
NPM Version
searchkit@4.15.0
Updated on Jun 01, 2025
searchkit@4.14.1
Updated on Mar 15, 2025
searchkit@4.13.3
Updated on Mar 09, 2025
@searchkit/instantsearch-client@4.14.1
Updated on Oct 29, 2024
searchkit@4.13.2
Updated on Oct 22, 2024
searchkit@4.13.1
Updated on Oct 21, 2024
TypeScript (46.23%)
MDX (38.68%)
CSS (8.63%)
JavaScript (3.6%)
Jupyter Notebook (2.85%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
Apache-2.0 License
4,827 Stars
2,279 Commits
444 Forks
86 Watchers
31 Branches
66 Contributors
Updated on Jul 16, 2025
Latest Version
3.0.0
Package Id
@searchkit/sdk@3.0.0
Unpacked Size
605.75 kB
Size
73.80 kB
File Count
223
NPM Version
lerna/3.22.1/node@v16.16.0+x64 (linux)
Node Version
16.16.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
1
5
Searchkit SDK is a universal library which simplifies using Elasticsearch for search experiences. Universal library and Works on the browser (with fetch) and on node.
Searchkit GraphQL uses this SDK behind the scenes. Ideal for those who:
All Searchkit documentation can be found at:
https://searchkit.co/docs/
The Searchkit Schema API reference can be found at:
https://searchkit.co/docs/reference/searchkit-sdk
From a configuration
1import Searchkit from '@searchkit/sdk' 2// Polyfill fetch for node environments 3// import "cross-fetch/polyfill" 4 5const searchkitConfig = { 6 host: 'http://localhost:9200/', // elasticsearch instance url 7 index: 'movies', 8 hits: { 9 fields: [ 'title', 'plot', 'poster' ] 10 }, 11 query: new MultiMatchQuery({ 12 fields: [ 'plot','title^4'], 13 highlightFields: ["title"] 14 }), 15 sortOptions: [ 16 { id: 'relevance', label: 'Relevance', field: '_score' }, 17 { id: 'released', label: 'Recent Releases', field: { released: 'desc' } } 18 ], 19 facets: [ 20 new RefinementSelectFacet({ 21 identifier: 'type', 22 field: 'type.raw', 23 label: 'Type' 24 }), 25 new RefinementSelectFacet({ 26 identifier: 'writers', 27 field: 'writers.raw', 28 label: 'Writers', 29 multipleSelect: true 30 }), 31 new RangeFacet({ 32 identifier: 'metascore', 33 field: 'metaScore', 34 label: 'Metascore', 35 range: { 36 min: 0, 37 max: 100, 38 interval: 5 39 } 40 }), 41 new DateRangeFacet({ 42 identifier: 'released', 43 field: 'released', 44 label: 'Released' 45 }) 46 ] 47} 48 49const request = Searchkit(config) 50const response = await request 51 .query("heat") 52 .setFilters([ 53 { identifier: "metascore", min: 10, max: 90 }, 54 { identifier: 'writers', value: 'writer1' }, 55 { identifier: 'actors', value: 'actors' } 56 ]) 57 .setSortBy("released") 58 .execute({ 59 facets: true, 60 hits: { 61 size: 10, 62 from: 0 63 } 64 }) 65
Searchkit SDK will generate the Elasticsearch queries required for this request, perform the request to Elasticsearch and transform the raw ES response into a friendly API response to build components on.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
7 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Reason
Found 13/30 approved changesets -- score normalized to 4
Reason
security policy file detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
56 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More