Skip to content

support use array to assign generator chars#3

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

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

Conversation

@siygle
Copy link

@siygle siygle commented Feb 10, 2015

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
Copy link

bchavet commented Jul 19, 2016

👍

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