UNPKG

indieauth-helper

Version:

A simple helper class for creating IndieAuth clients

9 lines (7 loc) 258 B
const IndieAuth = require('./src/main') const auth = new IndieAuth() const lengths = [5, 10, 20, 26, 40, 50, 100, 200, 500, 777] for (const length of lengths) { const rando = auth.generateRandomString(length) console.log(rando.length, length) }