Skip to content

support use array to assign generator chars#3

Open
siygle wants to merge 1 commit into
sehrope:masterfrom
siygle:flex-chars
Open

support use array to assign generator chars#3
siygle wants to merge 1 commit into
sehrope:masterfrom
siygle:flex-chars

Conversation

@siygle

@siygle siygle commented Feb 10, 2015

Copy link
Copy Markdown

Right now did not support assign multiple chars in generator,
maybe this way would be more flexible?
e.g.

var randtoken = require('rand-token').generator({
  chars: ['A-Z', '0-9'],
  source: 'default'
});

@bchavet

bchavet commented Jul 19, 2016

Copy link
Copy Markdown

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants