1.0.5 • Published 2 months ago

@softbase/string-sanitizer v1.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

string-sanitizer

A lightweight utility to sanitize strings by removing HTML tags, special characters, and extra whitespace.

Install

npm i @softbase/string-sanitizer

#Usage

import { sanitize } from 'string-sanitizer';

console.log(sanitize("  Hello <b>world</b>! 😃  ")); // Hello world
1.0.5

2 months ago

1.0.1

3 months ago

1.0.0

3 months ago