{"id":21924275,"url":"https://github.com/brandonhimpfen/is-stop-words","last_synced_at":"2025-06-12T14:32:19.054Z","repository":{"id":184515129,"uuid":"655922335","full_name":"brandonhimpfen/is-stop-words","owner":"brandonhimpfen","description":"is-stop-words is a lightweight npm package that allows you to check whether a word is a stop word or not.","archived":false,"fork":false,"pushed_at":"2023-06-19T23:09:25.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-25T12:40:37.962Z","etag":null,"topics":["stop","stop-word","stop-words","word","words"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/is-stop-words","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brandonhimpfen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-19T22:49:28.000Z","updated_at":"2024-11-03T05:27:14.000Z","dependencies_parsed_at":"2023-07-28T19:53:33.258Z","dependency_job_id":null,"html_url":"https://github.com/brandonhimpfen/is-stop-words","commit_stats":null,"previous_names":["brandonhimpfen/is-stop-words"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/brandonhimpfen/is-stop-words","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonhimpfen%2Fis-stop-words","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonhimpfen%2Fis-stop-words/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonhimpfen%2Fis-stop-words/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonhimpfen%2Fis-stop-words/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brandonhimpfen","download_url":"https://codeload.github.com/brandonhimpfen/is-stop-words/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brandonhimpfen%2Fis-stop-words/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259482530,"owners_count":22864768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["stop","stop-word","stop-words","word","words"],"created_at":"2024-11-28T21:14:18.483Z","updated_at":"2025-06-12T14:32:19.032Z","avatar_url":"https://github.com/brandonhimpfen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# is-stop-words\n\nis-stop-words is a lightweight npm package that allows you to check whether a word is a stop word or not. Stop words are common words that are often filtered out or ignored in natural language processing tasks such as text analysis, search engines, and machine learning algorithms.\n\n## Installation\n\nYou can install the package using npm:\n\n```\nnpm install is-stop-words\n```\n\n## Usage\n\n```\nconst isStopWord = require('is-stop-words');\n\nconsole.log(isStopWord('the')); // Output: true\nconsole.log(isStopWord('apple')); // Output: false\n```\n\nThe `isStopWord` function takes a word as input and returns `true` if it is a stop word, and `false` otherwise.\n\n## Word Formatting\n\nThe `isStopWord` function performs the following formatting operations on the input word:\n\n* Trims leading and trailing whitespace.\n* Converts the word to lowercase.\n* Ignores special characters other than the single quote '.\n\nThese formatting operations ensure that the word comparison is case-insensitive and ignores leading/trailing spaces and special characters (except the single quote).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonhimpfen%2Fis-stop-words","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrandonhimpfen%2Fis-stop-words","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrandonhimpfen%2Fis-stop-words/lists"}