client manager complete, client and client channels next
This commit is contained in:
10
node_modules/jws/lib/tostring.js
generated
vendored
Normal file
10
node_modules/jws/lib/tostring.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/*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);
|
||||
};
|
Reference in New Issue
Block a user