You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

76 lines
1.7 KiB

{
"name": "load-esm",
"version": "1.0.3",
"type": "commonjs",
"main": "index.js",
"types": "index.d.ts",
"scripts": {
"test": "mocha",
"compile-test": "tsc -p test"
},
"files": [
"index.js",
"index.d.ts"
],
"author": {
"name": "Borewit",
"url": "https://github.com/Borewit"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/Borewit"
},
{
"type": "buymeacoffee",
"url": "https://buymeacoffee.com/borewit"
}
],
"license": "MIT",
"description": "Utility to dynamically load ESM modules in TypeScript CommonJS projects",
"repository": {
"type": "git",
"url": "git+https://github.com/Borewit/load-esm.git"
},
"bugs": {
"url": "https://github.com/Borewit/load-esm/issues"
},
"homepage": "https://github.com/Borewit/load-esm#readme",
"keywords": [
"load-esm",
"ESM",
"Import ESM",
"CJS",
"CommonJS",
"TypeScript",
"Node.js",
"dynamic import",
"dynamic module loading",
"dynamic load",
"JavaScript modules",
"CJS ESM interoperability",
"import ESM in CommonJS",
"typescript commonjs import esm",
"module interoperability",
"node esm loader",
"mixed module",
"dynamic esm import typescript",
"cjs to esm bridge",
"ERR_REQUIRE_ESM",
"require ESM error",
"ERR_PACKAGE_PATH_NOT_EXPORTED",
"No \"exports\" main defined in",
"exports not defined error"
],
"engines": {
"node": ">=13.2.0"
},
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/mocha": "^10.0.10",
"@types/node": "^22.10.2",
"chai": "^4.3.4",
"mocha": "^11.0.1",
"typescript": "^5.7.2"
}
}