-----
This is designed to be easy for even a noob at coding can use.
README.md will be updated and a docs will be made soon.
Difference between 1.0.0 - 1.0.12
Change name from before because name in-use.
const { MicroRaptor } = require('micro-raptor');
-----
This is for generates a password. For the options you need the Length + one or more of the true/false options set to true to work unless it will console.log a error.
const i = MicroRaptor({
Feature: 'Generator-Password',
Options: {
Length: 20,
Uppercase: false,
Lowercase: true,
Numbers: false,
Symbols: false
}
});
console.log(i);
This generates a uuidv4. You have to have the options type.
v1 and v5 will be added later.
const i = MicroRaptor({
Feature: 'Generator-UUID',
Options: {
Type: 4
}
});
console.log(i);
This converts Tempature to °C or to °F. You have to have the options type.
const i = MicroRaptor({
Feature: 'Convert-Tempature',
Options: {
Tempature: 86,
ConversionTo: 'C'
}
});
console.log(i);
ConversionTo can equal the following:
C
,c
,Celsius
,celsius
F
,f
,Farenheit
,farenheit
This will format numbers. You have to have the options type.
const i = MicroRaptor({
Feature: 'Format-Commas',
Options: {
Numbers: '1,000,000',
Commas: 'Auto'
}
});
console.log(i);
Commas option default is Auto
but it can also be auto
, true
, and false
.