UNPKG

zarbis

Version:

Configuration-less build tool

28 lines (25 loc) 732 B
#!/usr/bin/env node global.cli = true; String.prototype.trimStart = String.prototype.trimStart ? String.prototype.trimStart : function () { if (String.prototype.trimLeft) { return this.trimLeft(); } else if (String.prototype.trim) { var trimmed = this.trim(); var indexOfWord = this.indexOf(trimmed); return this.slice(indexOfWord, this.length); } }; String.prototype.trimEnd = String.prototype.trimEnd ? String.prototype.trimEnd : function () { if (String.prototype.trimRight) { return this.trimRight(); } else if (String.prototype.trim) { var trimmed = this.trim(); var indexOfWord = this.indexOf(trimmed); return this.slice(indexOfWord, this.length); } }; require(`../dist/index.js`);