Buckets:
| /*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); | |
| }; | |
Xet Storage Details
- Size:
- 262 Bytes
- Xet hash:
- 7845f16b1b8db57eaf7b6cd46774146118467babeb0a56e8d01e07eb9cd858f8
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.