Package Exports
- cdx-stopword-remover
- cdx-stopword-remover/dist/index.js
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 cdx-stopword-remover
# or
yarn add cdx-stopword-remover
# or
bun install cdx-stopword-removerCode:
import { removeStopWords } from 'stopword-remover'
const text = "This is a simple example to demonstrate the removal of stop words.";
const result = removeStopWords(text);
console.log(result);