Socket
Book a DemoInstallSign in
Socket

weasels

Package Overview
Dependencies
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weasels

List of (possible) English weasel words

latest
Source
npmnpm
Version
2.0.1
Version published
Maintainers
2
Created
Source

weasels

Build Coverage Downloads Size

List of many English, both British and American, weasel words.

Contents

What is this?

This package exposes a list of weasel words.

When should I use this?

Use this when you want to do fun things with natural language.

Install

This package is ESM only. In Node.js (version 14.14+, 16.0+), install with npm:

npm install weasels

In Deno with esm.sh:

import {weasels} from 'https://esm.sh/weasels@2'

In browsers with esm.sh:

<script type="module">
  import {weasels} from 'https://esm.sh/weasels@2?bundle'
</script>

Use

import {weasels} from 'weasels'

console.log(weasels.length) //=> 116

console.log(weasels.slice(0, 10))

Yields:

[ 'a lot',
  'about',
  'acts',
  'again',
  'all',
  'almost',
  'already',
  'also',
  'anyway',
  'appeared' ]

API

This package exports the identifier weasels. There is no default export.

weasels

Reportedly, weasels exposes a list of strings (Array<string>).

Data

weasels supports several weasel words and phrases. For a complete list, see data.txt.

👉 Note: that the words listed in weasels might or, in fact, might not be weasels.

Types

This package is fully typed with TypeScript. It exports no additional types.

Compatibility

This package is at least compatible with all maintained versions of Node.js. As of now, that is Node.js 14.14+ and 16.0+. It also works in Deno and modern browsers.

  • buzzwords — list of buzzwords
  • dale-chall — list of familiar American-English words (1995)
  • fillers — list of filler words
  • hedges — list of hedge words
  • profanities — list of profane words
  • spache — list of simple American-English words (1974)

Contribute

Yes please! See How to Contribute to Open Source.

Security

This package is safe.

License

MIT © Titus Wormer

Keywords

weasel

FAQs

Package last updated on 06 Nov 2022

Did you know?

Socket

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.

Install

Related posts