micro-raptor

1.0.13 • Public • Published

MicroRaptor

Badges

![Version](https://img.shields.io/badge/Version-1.0.13-HEX(CB3837)) -----
-----

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.




Define package


  const { MicroRaptor } = require('micro-raptor');

-----

Password Generator Usage


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);

UUID Generator Usage


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);

Tempature Convertor Usage


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


Format Commas Usage


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.

Package Sidebar

Install

npm i micro-raptor

Weekly Downloads

5

Version

1.0.13

License

ISC

Unpacked Size

14.8 kB

Total Files

17

Last publish

Collaborators

  • devdex