Skip to content

A simple tool to generate random strings based on a given regular expression pattern using TypeScript.

License

Notifications You must be signed in to change notification settings

dynolabs/regex-randstr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Regex String Generator (TypeScript)

A simple tool to generate random strings based on a given regular expression pattern using TypeScript.

Installation

Using npm

npm install regex-randstr

Using yarn

yarn add regex-randstr

Usage

import { randString } from 'regex-randstr';

const randomString = randString('^[A-Za-z0-9]{5}$');
console.log(randomString); // Outputs a random 5-character alphanumeric string

License

This plugin is licensed under the MIT License. See the LICENSE file for more information.

About

A simple tool to generate random strings based on a given regular expression pattern using TypeScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published