![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
easy-keywords
Advanced tools
Simple utility for extracting some high-salience normalized keywords from a string of English text.
Simple utility for extracting some high-salience normalized keywords from a string of English text.
Install the easy-keywords
npm package:
npm install easy-keywords
or
yarn install easy-keywords
Use the extractKeywords
function to extract keywords from a string.
import { extractKeywords } from "easy-keywords"
const keywords = await extractKeywords("the t-shirt is green and nice and soft, it is well liked by both men and women, great success. my dad loved it when he tried it");
// returns an array of strings: [
// "shirt",
// "men",
// "dad",
// "great",
// "success",
// "nice",
// "green",
// ]
extractKeywords
takes options as a second argument.
max
: Return a maximum of n keywords, like extractKeywords("some phrase", {max: 1})
to get the top scoring keyword from a phrase.easy-keywords
uses TF/IDF to determine term salience, which is a fancy way of saying that terms that occur more frequently in the input text are assumed to be more important. After normalizing each term and identifying which terms have high TF/IDF scores, we filter down to only nouns and verbs to try to get a bit better signal-to-noise.
TF/IDF is the same algorithm that underlies Lucene's and Elasticsearch's idea of search salience and is a good starting point. If you want higher salience, you could put your entire corpus of documents into a search system and use TF/IDF over the whole corpus. This is currently out of scope for easy-keywords
but PRs are welcome!
FAQs
Simple utility for extracting some high-salience normalized keywords from a string of English text.
The npm package easy-keywords receives a total of 1 weekly downloads. As such, easy-keywords popularity was classified as not popular.
We found that easy-keywords 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.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.