Created
November 16, 2015 10:39
-
-
Save olizilla/c25a1306f9c1b0bea5f0 to your computer and use it in GitHub Desktop.
Make better bundle names
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
> name() | |
'juana-gold-driver' | |
> name() | |
'olaf-tan-panel' | |
> name() | |
'tracey-lavender-microchip' | |
*/ | |
function name () { | |
return faker.helpers.slugify(faker.fake('{{name.firstName}}-{{commerce.color}}-{{hacker.noun}}')).toLowerCase() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment