fakenamejs
v1.1.0
Published
Generate Chinese fakename based on browser fingerprints
Downloads
5
Maintainers
Readme
Chinese Fakename
Generate unique Chinese nicknames based on browser fingerprints.
Installation
NPM
npm install fakenamejs
Browser
<script src="https://unpkg.com/[email protected]/dist/fakename.min.js"></script>
Usage
const generator = new Fakename()
generator.generate({
// gender:0 // 0 female, 1 male ,optional
}).then(({ nickname, gender, visitorId }) => {
this.fp = visitorId
this.nickname = nickname
this.gender = gender
})
License
This project is licensed under the MIT License.