UNPKG

object-replace-mustache

Version:

replace placeholders of an object with a view like you would use mustache.render for strings

69 lines 1.81 kB
{ "name": "object-replace-mustache", "version": "3.0.1", "description": "replace placeholders of an object with a view like you would use mustache.render for strings", "author": "fratzinger", "homepage": "https://github.com/fratzinger/object-replace-mustache", "repository": { "type": "git", "url": "https://github.com/fratzinger/object-replace-mustache" }, "keywords": [ "object", "replace", "mustache", "placeholder" ], "license": "MIT", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "CHANGELOG.md", "LICENSE", "README.md", "src/**", "dist/**" ], "dependencies": { "@babel/parser": "^7.26.3", "@babel/traverse": "^7.26.3" }, "devDependencies": { "@types/babel__traverse": "^7.20.6", "@types/lodash": "^4.17.13", "@types/node": "^22.10.1", "@typescript-eslint/eslint-plugin": "^6.20.0", "@typescript-eslint/parser": "^6.20.0", "@vitest/coverage-v8": "^2.1.8", "cross-env": "^7.0.3", "eslint": "^8.56.0", "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-unicorn": "^50.0.1", "np": "^10.1.0", "pkg-pr-new": "^0.0.35", "shx": "^0.3.4", "typescript": "^5.7.2", "unbuild": "^2.0.0", "vitest": "^2.1.8" }, "scripts": { "build": "unbuild", "version": "pnpm run build", "release": "np", "test": "vitest run", "vitest": "vitest", "coverage": "vitest run --coverage", "lint": "eslint \"{src,test}/**/*{.js,.ts}\" --ext .js,.ts" } }