download
raw
699 Bytes
'use strict'
const fs = require('node:fs')
const path = require('node:path')
const spawn = require('node:child_process').spawn
const exe = process.argv[0]
const cwd = process.cwd()
runScripts(fs.readdirSync(__dirname))
function runScripts (fileNames) {
const fileName = fileNames.shift()
if (!fileName) return
if (!/\.js$/i.test(fileName)) return runScripts(fileNames)
if (fileName.toLowerCase() === 'index.js') return runScripts(fileNames)
const fullPath = path.join(__dirname, fileName)
console.log('> %s %s', exe, path.relative(cwd, fullPath))
const proc = spawn(exe, [fullPath], {
stdio: 'inherit'
})
proc.on('exit', function () {
runScripts(fileNames)
})
}

Xet Storage Details

Size:
699 Bytes
·
Xet hash:
38b2fe336a2ff26ee09071eefaf91b11a9236ea63df58dc7bf2ed1c737c98504

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.