aboutsummaryrefslogtreecommitdiffstats
path: root/backend/node_modules/jws/lib/tostring.js
diff options
context:
space:
mode:
Diffstat (limited to 'backend/node_modules/jws/lib/tostring.js')
-rw-r--r--backend/node_modules/jws/lib/tostring.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/backend/node_modules/jws/lib/tostring.js b/backend/node_modules/jws/lib/tostring.js
deleted file mode 100644
index f5a49a3..0000000
--- a/backend/node_modules/jws/lib/tostring.js
+++ /dev/null
@@ -1,10 +0,0 @@
-/*global module*/
-var Buffer = require('buffer').Buffer;
-
-module.exports = function toString(obj) {
- if (typeof obj === 'string')
- return obj;
- if (typeof obj === 'number' || Buffer.isBuffer(obj))
- return obj.toString();
- return JSON.stringify(obj);
-};