404

[ Avaa Bypassed ]




Upload:

Command:

botdev@3.134.95.234: ~ $
function stringify (obj, options = {}) {
  const EOL = options.EOL || '\n'

  const str = JSON.stringify(obj, options ? options.replacer : null, options.spaces)

  return str.replace(/\n/g, EOL) + EOL
}

function stripBom (content) {
  // we do this because JSON.parse would convert it to a utf8 string if encoding wasn't specified
  if (Buffer.isBuffer(content)) content = content.toString('utf8')
  return content.replace(/^\uFEFF/, '')
}

module.exports = { stringify, stripBom }

Filemanager

Name Type Size Permission Actions
CHANGELOG.md File 8.6 KB 0644
LICENSE File 1.08 KB 0644
README.md File 5.6 KB 0644
index.js File 1.86 KB 0644
package.json File 3.47 KB 0644
utils.js File 483 B 0644