Comparing version 0.1.5 to 0.1.6
{ | ||
"name": "nyks", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "nodejs exupery style", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -34,6 +34,10 @@ Buffer.implement({ | ||
stripEnd:function(end){ | ||
return this.endsWith(end) ? this.substr(0, this.length - end.length) : end; | ||
return this.endsWith(end) ? this.substr(0, this.length - end.length) : this.toString(); | ||
}, | ||
stripStart:function(start){ | ||
return this.startsWith(start) ? this.substr(start.length) : this.toString(); | ||
}, | ||
}); | ||
4885
103