is-constructor
Version:
Check if a value is a constructor function
42 lines • 998 B
JSON
{
"name": "is-constructor",
"version": "1.1.1",
"description": "Check if a value is a constructor function",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/wbhob/is-constructor.git"
},
"homepage": "https://github.com/wbhob/is-constructor#readme",
"bugs": {
"url": "https://github.com/wbhob/is-constructor/issues"
},
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts"
}
},
"keywords": [
"typescript",
"constructor",
"type-check",
"newable"
],
"author": "Wilson Hobbs",
"license": "MIT",
"devDependencies": {
"@types/node": "^20.16.6",
"typescript": "^4.6.3",
"vite": "^5.4.7",
"vite-plugin-dts": "^4.2.2",
"vitest": "^0.30.1"
},
"scripts": {
"build": "vite build",
"test": "vitest run"
}
}