tahamajs's picture
download
raw
733 Bytes
/**
* @fileoverview Universal module importer
*/
//-----------------------------------------------------------------------------
// Imports
//-----------------------------------------------------------------------------
import { createRequire } from "module";
import { fileURLToPath } from "url";
import { dirname } from "path";
//-----------------------------------------------------------------------------
// Helpers
//-----------------------------------------------------------------------------
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
const require = createRequire(__dirname + "/");
const { ModuleImporter } = require("./module-importer.cjs");
export { ModuleImporter };

Xet Storage Details

Size:
733 Bytes
·
Xet hash:
e633506696d5926b61136a01ed735ffd67c447d0efa2e266c7352522cbfe5ccc

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