initial commit

This commit is contained in:
air66
2019-07-24 18:16:32 +01:00
commit 5efebf4ded
8591 changed files with 899103 additions and 0 deletions

5
node_modules/es5-ext/number/#/index.js generated vendored Normal file
View File

@@ -0,0 +1,5 @@
"use strict";
module.exports = {
pad: require("./pad")
};

15
node_modules/es5-ext/number/#/pad.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
"use strict";
var pad = require("../../string/#/pad")
, toPosInt = require("../to-pos-integer")
, toFixed = Number.prototype.toFixed;
module.exports = function (length/*, precision*/) {
var precision;
length = toPosInt(length);
precision = toPosInt(arguments[1]);
return pad.call(precision ? toFixed.call(this, precision) : this,
"0", length + (precision ? 1 + precision : 0));
};