npm

@tyler-jm/bbkey

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i @tyler-jm/bbkey

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

1.7 kB

Total Files

3

Last publish

Collaborators

  • tyler-jm