
Product
Socket Now Protects the Chrome Extension Ecosystem
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
@yext/search-core
Advanced tools
Search Core is a networking library for interacting with the Yext Search API.
For a full getting started walk through, view our official Hitchhiker Guide.
First, install Search-core via npm:
npm install @yext/search-core
Next, import and initialize the core library in your application.
The apiKey and experienceKey will come from your Search experience on yext.com. You can signup for a free trial at https://www.yext.com/free-trial/.
import { provideCore } from '@yext/search-core';
const core = provideCore({
apiKey: '<your api key>',
experienceKey: '<one of your experience keys>',
locale: 'en',
experienceVersion: 'PRODUCTION',
});
To use the library with Node, use the following import instead:
const { provideCore } = require('@yext/search-core');
Now that the core is initialized, let's run a search on an "FAQs" vertical.
core.verticalSearch({
verticalKey: 'FAQs',
query: 'What is Yext Search?',
}).then(results => {
// Do something with the search results
}).catch(err => {
// Handle errors thrown by the core library
});
@yext/search-core/lib/esm
@yext/search-core/lib/commonjs
@yext/search-core/legacy
And that's it! See our documentation for a full list of supported API calls.
Yext Search-core is an open-sourced library licensed under the BSD-3 License.
The licenses of our 3rd party dependencies are collected here: THIRD-PARTY-NOTICES.
FAQs
Typescript Networking Library for the Yext Search API
The npm package @yext/search-core receives a total of 5,343 weekly downloads. As such, @yext/search-core popularity was classified as popular.
We found that @yext/search-core demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 83 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.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.
Product
Add secure dependency scanning to Claude Desktop with Socket MCP, a one-click extension that keeps your coding conversations safe from malicious packages.
Product
Socket now supports Scala and Kotlin, bringing AI-powered threat detection to JVM projects with easy manifest generation and fast, accurate scans.