@overkill/is-wds
v1.3.0
Published
Is this string REALLY "WDS"?
Readme
Is WDS
Check if a value is the string "WDS", but with, as of 6/26/2025, every NPM package that contains the string 'is-wds' in its package name and returns true if "WDS" is the input. (except for @thinkofvinoth/is-wds, which installed like 1000 packages from lerna)
Installation
Install with your favorite package manager. If it's NPM:
$ npm install @overkill/is-wdsIf it's Yarn:
$ yarn add @overkill/is-wdsIf it's--, wait, you probably know how to install a package. um, okay. MOVING On...
Usage
just import it one of these ways:
// CommonJS
var isWDS = require('@overkill/is-wds');
// or
var isWDS = require('@overkill/is-wds').default;
// or
var isWDS = require('@overkill/is-wds').isWDS;
// or
var { isWDS } = require('@overkill/is-wds');
// ESM
import isWDS from '@overkill/is-wds'
// or
import { isWDS } from '@overkill/is-wds'then use it like this
console.log(isWDS('WDS')) // true
console.log(isWDS('wds')) // false
console.log(isWDS('anything else')) // falseTests
To run tests, do a git clone and run npm test.
contributing
contribute on the github repo
license
mit licensed
