Matt Mayer

Results 288 comments of Matt Mayer
trafficstars

I think the tricky thing is knowing when to stop! Because in reality the first one-two chars can't be ANY A-Z, they can only be one of the https://en.wikipedia.org/wiki/List_of_postcode_areas_in_the_United_Kingdom valid...

i think you're right, however at the moment zipCode() uses `faker.helpers.replaceSymbols` under the hood which only supports a very basic set of substitutions: #, ? and *, so i dont...

if limited to 6 i think people/names are more important than hacker jargon

are you sure its limited to 6? https://vitepress.dev/reference/default-theme-home-page#features-section says "any number of features"

I think let's switch out the hacker jargon for person module?

It would fit ok in faker.word module faker.word.greeting() // ' Hello'

More than the API you'd also have to consider how formal/informal you expect this to be. I might jocularly say "Howdy" in a game, but I don't want my bank...

Aloha only if you are in the Hawaiian locale 😀

If you need to support old browsers then running everything client-side may not be the best option. If it's a possibility for your application you could say run a tiny...

Likely requires https://github.com/faker-js/faker/pull/3233 to be implemented first.