OPENKEY

    authentication made easy, scalable, fast.

    Manage keys, plans & rate limiting. Proudly open source.

    const openkey = require('openkey')({ redis })
    
    const plan = await openkey.plans.create({
      name: 'free tier',
      metadata: { tier: 'free' },
      limit: 3000,
      period: '1d'
    })
    Define an plan by name, limit window, and period time rate.