1.0.0 • Published 4 years ago

@tyler-jm/bbkey v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
4 years ago

bbkey

a bare-bones api to generate random strings made up of uppercase letters, lowercase letters, or nunerals.

Good for generating keys for React components or Vue components.

Installation

  1. npm install @tyler-jm/bbkey
  • in the .js file: import bbkey from '@tyler-jm/bbkey';
  • or: const bbkey = require('@tyler-jm/bbkey;

Usage

Pass a number to the function, this will be the length of the string generated by the funtion:

bbkey(4) would return something like: 4etw

bbkey(8) would return something like: 5ekFsD8i


This is not intended for production purposes