We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, simply return "5554441234" instead of "(555) 444-1234"
If this sounds good I can code it up / make tests and submit a PR.
The text was updated successfully, but these errors were encountered:
Sounds good. Eventually, I'd like to be able to pass an options object to generate() with options like phone number format, etc.
Sorry, something went wrong.
That's what I was thinking when I initially peeked at the code.
I was thinking when you call generate you can pass it an optional config object after the number, which will have phoneNumber options, etc.
Is that what you had in mind?
generate(config, num); or generate(num, config);
or you can do something like this to clean it up, because if you do one of the ways above you have issues when you want 1 number and a config.
generate() -- default 1 with default config generate(config); config = { num: Number, phoneNumber: String, etc, etc };
Ideally, I'd like generate(config, num), and if the first argument is a number instead of an object, it just acts as generate(num).
generate(config, num)
generate(num)
No branches or pull requests
For example, simply return "5554441234" instead of "(555) 444-1234"
If this sounds good I can code it up / make tests and submit a PR.
The text was updated successfully, but these errors were encountered: