
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@types/highlight-words-core
Advanced tools
TypeScript definitions for highlight-words-core
npm install --save @types/highlight-words-core
This package contains type definitions for highlight-words-core (https://github.com/bvaughn/highlight-words-core).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/highlight-words-core.
export interface FindChunksArgs {
autoEscape?: boolean | undefined;
caseSensitive?: boolean | undefined;
sanitize?: ((text: string) => string) | undefined;
searchWords: string[];
textToHighlight: string;
}
export interface Chunk {
start: number;
end: number;
highlight: boolean;
}
export interface FindAllArgs extends FindChunksArgs {
findChunks?: ((args: FindChunksArgs) => Chunk[]) | undefined;
}
export function findAll(args: FindAllArgs): Chunk[];
These definitions were written by James Lismore.
FAQs
TypeScript definitions for highlight-words-core
The npm package @types/highlight-words-core receives a total of 117,420 weekly downloads. As such, @types/highlight-words-core popularity was classified as popular.
We found that @types/highlight-words-core demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.