Skip to content

Instantly share code, notes, and snippets.

View idevillafane's full-sized avatar
🏠
Working from home

Ignacio de Villafañe idevillafane

🏠
Working from home
  • Mendoza, Argentina
View GitHub Profile
@idevillafane
idevillafane / postman-bigint.js
Last active March 30, 2022 21:04 — forked from kentkost/postman-bigint.js
Postman Test Runner BigInt fix
var BigNumber,
isNumeric = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,
mathceil = Math.ceil,
mathfloor = Math.floor,
notBool = ' not a boolean or binary digit',
roundingMode = 'rounding mode',
tooManyDigits = 'number type has more than 15 significant digits',
ALPHABET = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ$_',
BASE = 1e14,
LOG_BASE = 14,