UNPKG

ast-is-empty

Version:

Find out, is nested array/object/string/AST tree is empty

92 lines (91 loc) 2.42 kB
{ "name": "ast-is-empty", "version": "4.2.1", "description": "Find out, is nested array/object/string/AST tree is empty", "keywords": [ "array", "ast", "blank", "contains", "empty", "html", "is", "nested", "no", "nothing", "object", "only", "parse", "parsed", "parser", "posthtml", "posthtml-tree", "posthtmltree", "string", "tree", "xml" ], "homepage": "https://codsen.com/os/ast-is-empty", "repository": { "type": "git", "url": "git+https://github.com/codsen/codsen.git", "directory": "packages/ast-is-empty" }, "license": "MIT", "author": { "name": "Roy Revelt", "email": "roy@codsen.com", "url": "https://codsen.com" }, "type": "module", "exports": { "types": "./types/index.d.ts", "script": "./dist/ast-is-empty.umd.js", "default": "./dist/ast-is-empty.esm.js" }, "types": "types/index.d.ts", "scripts": { "build": "node ../../ops/scripts/esbuild.js && npm run dts", "coverage": "c8 uvu test", "dev": "node ../../ops/scripts/esbuild.js --dev && npm run dts", "devtest": "c8 npm run unit && npm run examples && npm run lint", "dts": "rollup -c && biome format --write --config-path=../../biome.json --vcs-enabled=false --use-editorconfig=false types/index.d.ts", "examples": "node '../../ops/scripts/run-examples.js'", "lect": "node '../../ops/lect/lect.js'", "lect:check": "node '../../ops/lect/lect.js' --check", "lint": "biome lint --error-on-warnings . && npm run typecheck", "lint:fix": "biome lint --write --error-on-warnings . && npm run typecheck", "perf": "node perf/check.js", "prep": "echo 'ready'", "prettier": "biome format", "prettier:format": "biome format --write .", "pretest": "npm run lect:check && npm run build", "test": "npm run devtest", "typecheck": "tsc --noEmit --pretty false --project tsconfig.json", "unit": "uvu test" }, "c8": { "all": true, "branches": 100, "check-coverage": true, "exclude": ["**/test/**/*.*"], "functions": 100, "include": ["dist/*.esm.js"], "lines": 100, "statements": 100 }, "lect": { "licence": { "extras": [""] } }, "dependencies": { "codsen-utils": "^1.9.0" }, "engines": { "node": ">=18.20.8" }, "publishConfig": { "registry": "https://registry.npmjs.org/" } }