1.0.3 • Published 6 years ago

positive-usernames v1.0.3

Weekly downloads
2
License
MIT
Repository
gitlab
Last release
6 years ago

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

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago