UNPKG

empty-php

Version:

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

59 lines (58 loc) 1.33 kB
{ "name": "empty-php", "version": "3.0.1", "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.2", "@types/jest": "^30.0.0", "jest": "^30.0.0", "jest-junit": "^16.0.0", "microbundle": "^0.15.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" }, "keywords": [ "empty", "js", "php", "array", "object", "isset", "null", "nil", "false", "value" ], "author": { "name": "Niklas Ekman", "email": "nikl.ekman@gmail.com" }, "license": "MIT", "homepage": "https://github.com/Ekman/empty-php#readme", "maintainers": [ { "name": "Niklas Ekman", "url": "https://www.niklasekman.solutions", "email": "niklas@niklasekman.solutions" } ] }