siwi-uniquestring

1.0.4 • Public • Published

node Build Status npm npm Github file size npm

siwi-uniquestring

生成指定长度的随机字符串

install

use npm

npm install siwi-uniquestring

use yarn

yarn add siwi-uniquestring

Example

const uniqueString = require('siwi-uniquestring')
 
class Example {
    constructor() {
        this.init()
    }
 
    async init() {
        const str = await uniqueString.random(32)
        console.log(str)
    }
}
 
module.exports = new Example()

89c1fe8cb987d41140f254a296f4ab59

Package Sidebar

Install

npm i siwi-uniquestring

Weekly Downloads

3

Version

1.0.4

License

MIT

Unpacked Size

4.23 kB

Total Files

7

Last publish

Collaborators

  • siwi