@skipper-dev/essentials
Advanced tools
Comparing version 1.0.5 to 1.0.6
module.exports = { | ||
decodeBase64(input) { | ||
if (!input) return Error('You need to specify a base64 string to decode.') | ||
encodeBase64(input) { | ||
if (!input) return Error('You need to specify a string to decode.') | ||
try { | ||
@@ -18,3 +18,3 @@ input = input.toString() | ||
}, | ||
encodeBase64(input) { | ||
decodeBase64(input) { | ||
if (!input) return Error('You need to specify a base64 string to decode.') | ||
@@ -21,0 +21,0 @@ if (typeof (input) != 'string') return Error('You have to provide a input type of string, recieved type ' + typeof(input)) |
{ | ||
"name": "@skipper-dev/essentials", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "A essentials module with every important feature the npm community features and some more. Basicially just a big chunk of utils", | ||
@@ -5,0 +5,0 @@ "main": "main.js", |
1739