
Research
/Security News
Shai Hulud Strikes Again (v2)
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.
@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/legacyAnd 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 3,154 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 2 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
/Security News
Another wave of Shai-Hulud campaign has hit npm with more than 500 packages and 700+ versions affected.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.