highlight-words

Split a piece text into multiple chunks based on a search query, allowing you to highlight the matches.

highlight-words@2.0.0 was published on 2024-09-03. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >= 20.

All highlight-words versions ยท Permanent reference to 2.0.0

Package specifications

Version2.0.0
License declarationMIT
Published2024-09-03T08:36:55.525Z
Node.js requirement>= 20
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size43.02 KiB
Published file count11
Package typecommonjs
ES module entrydist/highlight-words.mjs
Default entrydist/highlight-words.js
Side effects declarationNot declared
Direct advisoriesUnknown
Resolved graph dependenciesUnknown
Repository starsUnknown
Repository forksUnknown

Install highlight-words 2.0.0

npm install highlight-words@2.0.0
pnpm add highlight-words@2.0.0
yarn add highlight-words@2.0.0

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Evidence and freshness