$64 GRAYBYTE WORDPRESS FILE MANAGER $80

SERVER : vnpttt-amd7f72-h1.vietnix.vn #1 SMP Fri May 24 12:42:50 UTC 2024
SERVER IP : 103.200.23.149 | ADMIN IP 216.73.216.22
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cpanel/ea-nodejs22/lib/node_modules/npm/node_modules/libnpmversion/lib/

HOME
Current File : /opt/cpanel/ea-nodejs22/lib/node_modules/npm/node_modules/libnpmversion/lib//write-json.js
// write the json back, preserving the line breaks and indent
const { writeFile } = require('node:fs/promises')
const kIndent = Symbol.for('indent')
const kNewline = Symbol.for('newline')

module.exports = async (path, pkg) => {
  const {
    [kIndent]: indent = 2,
    [kNewline]: newline = '\n',
  } = pkg
  delete pkg._id
  const raw = JSON.stringify(pkg, null, indent) + '\n'
  const data = newline === '\n' ? raw : raw.split('\n').join(newline)
  return writeFile(path, data)
}

Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
1 Jan 1970 8.00 AM
root / root
0
commit.js
0.415 KB
17 Jan 2026 1.16 AM
root / root
0644
enforce-clean.js
0.821 KB
17 Jan 2026 1.16 AM
root / root
0644
index.js
0.763 KB
17 Jan 2026 1.16 AM
root / root
0644
read-json.js
0.288 KB
17 Jan 2026 1.16 AM
root / root
0644
retrieve-tag.js
0.375 KB
17 Jan 2026 1.16 AM
root / root
0644
tag.js
0.459 KB
17 Jan 2026 1.16 AM
root / root
0644
version.js
3.219 KB
17 Jan 2026 1.16 AM
root / root
0644
write-json.js
0.472 KB
17 Jan 2026 1.16 AM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME
Static GIF