Create New Item
Item Type
File
Folder
Item Name
Search file in folder and subfolders...
Are you sure want to rename?
File Manager
/
node_modules
/
jws
/
lib
:
tostring.js
Advanced Search
Upload
New Item
Settings
Back
Back Up
Advanced Editor
Save
/*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); };