repo
replacements.fyi

// package

is-word-character

type: "module"

// preferences

// replacements (1)

snippet::is-word-character

Simple or drop-in replacement

This package is no longer necessary. You can check if a character is a word character with a `RegExp`.

// example

const isWordChar = (c) => /\w/.test(c);