@marshal93/random-string
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

@marshal93/random-string

获取一个随机字符串,默认获取 6 位字符,默认字符集合 ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789

EXAMPLE

使用

import randomString from '@marshal93/random-string';

randomString();
// 更改长度
randomString(2);
// 更改长度和随机集合
randomString(3, '0123456789');

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i @marshal93/random-string

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

3.93 kB

Total Files

7

Last publish

Collaborators

  • marshal93