UNPKG

unist-util-walker

Version:

Walk unist trees with enter and leave functions

55 lines 1.29 kB
{ "name": "unist-util-walker", "version": "1.0.0", "description": "Walk unist trees with enter and leave functions", "license": "MIT", "author": "0phoff <0phoff@users.noreply.github.com>", "keywords": [ "syntax-tree", "unifiedjs", "unist", "unist-util", "ast", "tree", "walk", "visit", "traverse" ], "repository": { "type": "git", "url": "https://github.com/0phoff/unist-util-walker" }, "bugs": "https://github.com/0phoff/unist-util-walker/issues", "type": "module", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js" } }, "files": [ "dist/**/*.js", "dist/index.d.ts" ], "devDependencies": { "@types/node": "^18.0.1", "c8": "^7.11.3", "tsx": "^3.7.1", "typescript": "^4.7.4", "unist-builder": "^3.0.0", "uvu": "^0.5.6" }, "dependencies": { "@types/unist": "^2.0.6", "unified": "^10.1.2" }, "scripts": { "build": "tsc", "start": "tsc --watch", "test-api": "tsx node_modules/uvu/bin.js test \"^(base|actions)\\.ts$\"", "test-cov": "c8 --check-coverage --100 --reporter lcov pnpm run test-api", "test": "pnpm run build && pnpm run test-cov" } }