UNPKG

empty-php

Version:

Exact replica of the PHP empty function in for JavaScript and TypeScript

64 lines (63 loc) 1.4 kB
{ "name": "empty-php", "version": "3.1.0", "description": "Exact replica of the PHP empty function in for JavaScript and TypeScript", "source": "./src/index.ts", "types": "./dist/index.d.ts", "exports": { "import": "./dist/index.esm.js", "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "main": "./dist/index.js", "module": "./dist/index.esm.js", "unpkg": "./dist/index.umd.js", "scripts": { "build": "microbundle --format cjs,esm,umd", "test": "jest" }, "repository": { "type": "git", "url": "git+https://github.com/Ekman/empty-php.git" }, "devDependencies": { "@tsconfig/node22": "^22.0.5", "@types/jest": "^30.0.0", "jest": "^30.2.0", "jest-junit": "^16.0.0", "microbundle": "^0.15.1", "ts-jest": "^29.4.5", "ts-node": "^10.9.2", "typescript": "^5.9.3" }, "keywords": [ "empty", "js", "php", "array", "object", "isset", "null", "nil", "false", "value" ], "author": { "name": "Niklas Ekman", "email": "niklas@niklasekman.solutions" }, "license": "MIT", "homepage": "https://github.com/Ekman/empty-php#readme", "maintainers": [ { "name": "Niklas Ekman", "url": "https://www.niklasekman.solutions", "email": "niklas@niklasekman.solutions" } ], "files": [ "dist", "src" ], "sideEffects": false }