Skip to content
This repository has been archived by the owner on Jul 19, 2021. It is now read-only.

CyberHD1811/smlcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

smlcode

! This package is NO longer suppoorted. Please do not use it any longer. !


This is a small package to create a custom code.


import { smlCode } from 'smlcode';

const chars = 'abcdefghijklmnopqrstuvwxyz0123456789';

console.log(smlCode(5, 8, chars));
//Expected Output (ONLY an example): a4kf9rh7-c58g94dk-p5kl4aso-bz6pcdlt-1qu5dk2c

Warning:

You will get an Error, if you use the function without defining both Values. You will als get an TypeError, if one one the Values is not a number. (You will get an TypeError, if the characters Value is not a string)


Documentation:

  • smlCode(section, innersection, characters):

    • section: A number >= 1
    • innersection: A number >= 1
    • characters: A custom string with a minimum of 1 character (It's recommended to use at least 10 different characters)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published