1.0.0 • Published 4 years ago
ru-key v1.0.0
##ru-key A simple random and unique key generator.
####Install
npm i ru-key
####Usage
const ruKey = require("ru-key");
// Default config (No need to setup but you can change it.)
ruKey.setConfig({
length: 16,
lowercase: true,
numbers: true,
uppercase: true
});
// Available config settings.
// length = Length of the id generated.
// lowercase = Lowercase characters allowed or not.
// numbers = Numbers allowed or not.
// uppercase = Uppercase characters allowed or not.
// Change config (Optional)
ruKey.setConfig({
length: 32
}); // Other settings will remain default.
ruKey(); // Generates an id.
####Credits Developed by Ruby Kamboj Email: rubykambojofficial@gmail.com Facebook: https://www.facebook.com/rkambojofficial Instagram: https://www.instagram.com/rkambojofficial Twitter: https://twitter.com/rkambojofficial
1.0.0
4 years ago