Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@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
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 0 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.