JSPM

cdx-stopword-remover

1.0.2
    • ESM via JSPM
    • ES Module Entrypoint
    • Export Map
    • Keywords
    • License
    • Repository URL
    • TypeScript Types
    • README
    • Created
    • Published
    • Downloads 22
    • Score
      100M100P100Q60960F
    • License MIT

    A simple package to remove stop words from text.

    Package Exports

      This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (cdx-stopword-remover) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

      Readme

      Stopword Remover

      A simple package to remove stop words from text. This package is written in TypeScript but can be used in both TypeScript and JavaScript projects.

      Installation

      You can install the package using npm:

      npm install stopword-remover
      # or
      yarn add stopword-remover
      # or
      bun install stopword-remover

      Code:

      const { removeStopWords } = require('stopword-remover');
      
      const text = "This is a simple example to demonstrate the removal of stop words.";
      const result = removeStopWords(text);
      console.log(result);