How to use randomatic - 2 common examples

To help you get started, we’ve selected a few randomatic examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github permalinks / permalinks / test / helpers.js View on Github external
permalinks.helper('random', function(val) {
      return random.apply(null, val.split(','));
    });
github agalwood / Motrix / src / renderer / components / Preference / Advanced.vue View on Github external
onDiceClick () {
        this.hideRpcSecret = false
        const rpcSecret = randomize('Aa0', 12)
        this.form.rpcSecret = rpcSecret

        setTimeout(() => {
          this.hideRpcSecret = true
        }, 2000)
      },
      onFactoryResetClick () {

randomatic

Generate randomized strings of a specified length using simple character sequences. The original generate-password.

MIT
Latest version published 5 years ago

Package Health Score

74 / 100
Full package analysis

Popular randomatic functions