UNPKG

@homer0/ts-async-import

Version:

Small utility to dynamically import ESM modules in CJS with TS

58 lines (57 loc) 1.36 kB
{ "name": "@homer0/ts-async-import", "description": "Small utility to dynamically import ESM modules in CJS with TS", "version": "3.0.9", "repository": { "type": "git", "url": "git+https://github.com/homer0/packages.git", "directory": "packages/public/ts-async-import" }, "author": "Leonardo Apiwan (@homer0) <me@homer0.com>", "license": "MIT", "keywords": [ "import", "commonjs", "esm", "typescript", "require" ], "publishConfig": { "access": "public", "provenance": true }, "type": "module", "main": "./src/index.js", "types": "./src/index.d.ts", "exports": { ".": { "import": "./src/index.js", "types": "./src/index.d.ts" }, "./package.json": "./package.json" }, "files": [ "dist/", "src/" ], "devDependencies": { "@homer0/eslint-plugin": "14.2.4", "@homer0/tsconfig": "5.0.0", "@vitest/coverage-v8": "catalog:", "eslint": "catalog:", "typescript": "catalog:", "unplugin-swc": "catalog:", "vitest": "catalog:" }, "engine-strict": true, "engines": { "node": ">=20" }, "scripts": { "lint": "eslint .", "lint:file": "eslint $@", "test": "vitest run $@", "types:check": "tsc --noEmit && tsc --noEmit --project ./tests/tsconfig.json" }, "gitHead": "291c00869f3f00c63d5c0458555dfeb21ad231e1" }