Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 698 Bytes

README.md

File metadata and controls

17 lines (12 loc) · 698 Bytes

Insomnia Plugin - Chance

Random Value Generator

Generates a random value from on Chance.JS

Instalation:

  • Open Insomnia options (Ctrl + , | Cmd + ,)
  • Write insomnia-plugin-chance on the Plugins tab

Args:

  • Type: Select a function from Chance to be executed
  • Custom Function: If selected custom type, it will execute the function named here
  • Options: Arguments you want to pass to your chance function. Because of the way Insomnia handles plugins, you need to pass it as:

argumentName: argumentValue, argumentName2: argumentValue2

For example, with Natural, you can pass it as: min: 1, max: 20