UNPKG

randomstring-tool

Version:

A node.js tool for generating random text strings

27 lines (19 loc) 498 B
# randomstring-tool Package provides a function to generate alphanumeric strings with the ability to include Chinese characters. ## Installation ```bash npm install randomstring-tool ``` ## Usage ```javascript const { generateRandomString, generateRandomChinese, } = require('randomstring-tool'); console.log(generateRandomString(10)); // OFgxuRsHrO console.log(generateRandomChinese(10)); // 噆澟巐借黻登鹝欩嫫雠 ``` ## License [MIT](https://choosealicense.com/licenses/mit/)