UNPKG

insomnia-plugin-douglasmariz-response-xml-to-json

Version:
24 lines (23 loc) 703 B
"use strict"; // module.exports.templateTags = [{ // name: 'randomInteger', // displayName: 'Random Integer', // description: 'Generate a random integer.', // args: [ // { // displayName: 'Minimum', // description: 'Minimum potential value', // type: 'number', // defaultValue: 0 // }, // { // displayName: 'Maximum', // description: 'Maximum potential value', // type: 'number', // defaultValue: 100 // } // ], // async run (context, min, max) { // return Math.round(min + Math.random() * (max - min)); // } // }];