positive-usernames

1.0.3 • Public • Published

Positive Usernames

Easily create usernames with positive adjectives, like 'happy-charles'.

How to use

Install

yarn add positive-usernames

Import into your code

const getUsername = require('positive-usernames')

And use like so:

const username = getUsername('sam')
// energetic-sam

This package will also check to see if you have passed in an email address, and if so if will trim it. So 'jennifer@doe.com' will become 'jennifer'. No rocket science here, i'm afraid.

Contributing

Any updates are welcome - create a MR in the repository

Versions

Current Tags

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

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    0
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i positive-usernames

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

2.89 kB

Total Files

5

Last publish

Collaborators

  • travisreynolds