1.0.3 • Published 2 months ago

ios-keyword-extractor v1.0.3

Weekly downloads
-
License
ISC
Repository
github
Last release
2 months ago

ios-keyword-extractor

How to use it

  • Automatically Sorts All Keywords
  • Plurals Removed
  • Duplicates Removed
  • Put all your exisiting keywords to avoid duplicate keywords
const { extractKeywords } = require("extractKeywords");

const inputTitles = [
  {
    title: "Bulking with Ideal Protein, Super Power",
    subtitle: "Gain weight, muscle, meals",
  },
  {
    title: "Arise Bodybuilding meal plan",
    subtitle: "Body building app, bulq, plate",
  },
];

// My Previous Keywords.. You can give Empty Array
const existingKeywords = [
  "foodnoms",
  "bulk",
  "myprotein",
  "tracking",
  "well",
  "menu",
  "planner",
  "my",
  "fitness",
  "pal",
  "myfitnesspal",
  "calories",
  "diary",
  "macros",
  "clean",
  "simple",
  "eats",
];

const inputKeywords = [
  "Bulking with Ideal Protein, Super Power",
  "planning power hahaha kk",
  "workout",
  "healthy",
  "fitnesspal",
  "fit",
  "fit",
  "fit",
  "fit",
  "fits",
  "fitness",
  "fitnesses",
  "cycling",
  "para",
  "fire",
  "prep",
  "foodnoms",
  "bulk",
  "myprotein",
  "tracking",
  "well",
  "menu",
  "planner",
  "my",
  "fitness",
  "pal",
  "myfitnesspal",
  "calories",
  "diary",
  "macros",
  "clean",
  "simple",
  "eats",
  "intake",
  "strength",
];

const result = extractKeywords(inputTitles, existingKeywords, inputKeywords);
console.log(result);
let totalWordCount = result.reduce((acc, word) => acc + word.length, 0);
console.log(totalWordCount);
1.0.3

2 months ago

1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago