1.0.13 • Published 2 years ago

micro-raptor v1.0.13

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

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

  const i = MicroRaptor({
    Feature: 'Generator-Password',
    Options: {
      Length: 20,
      Uppercase: false,
      Lowercase: true,
      Numbers: false,
      Symbols: false
    }
  });
  
  console.log(i);

  const i = MicroRaptor({
    Feature: 'Generator-UUID',
    Options: {
      Type: 4
    }
  });
  
  console.log(i);

  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


  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.

1.0.13

2 years ago

1.0.12

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago