maldan / denolib-extend-string

Extend Default String Class

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extend String

Custom badge Deno test License hits GitHub Repo stars

Extend standard js string with this module.

Full documentation

Go here - https://doc.deno.land/https/deno.land/x/estring/mod.ts

How to import

import { EString } from "https://deno.land/x/estring@2.0.0/mod.ts";

Function list

Transform

  • caseStyle

Validate

  • email

Example

EString("hello").transform.capitalize(); // Hello
EString("hello").validate.email(); // false
EString("dd@dd.ru").validate.email(); // true

Have a question/suggestion/bug report?

Contact me: https://t.me/maldan

About

Extend Default String Class

License:MIT License


Languages

Language:TypeScript 100.0%