UNPKG

jsesc-es

Version:

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.

88 lines (87 loc) 2.08 kB
{ "name": "jsesc-es", "type": "module", "version": "1.0.2", "packageManager": "pnpm@9.15.9", "description": "Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.", "author": "Drswith", "license": "MIT", "homepage": "https://github.com/Drswith/jsesc-es#readme", "repository": { "type": "git", "url": "git+https://github.com/Drswith/jsesc-es.git" }, "bugs": { "url": "https://github.com/Drswith/jsesc-es/issues" }, "keywords": [ "buffer", "escape", "javascript", "json", "map", "set", "string", "stringify", "tool" ], "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs" }, "./package.json": "./package.json" }, "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "llms.txt" ], "engines": { "node": ">=6" }, "publishConfig": { "access": "public" }, "scripts": { "build": "tsdown", "dev": "tsdown --watch --sourcemap", "test": "vitest run", "test:ui": "vitest --ui", "test:watch": "vitest", "test:coverage": "vitest run --coverage", "lint": "eslint .", "lint:fix": "eslint . --fix", "prepare": "simple-git-hooks", "prepublishOnly": "pnpm run build", "typecheck": "tsc --noEmit", "lint-staged": "lint-staged", "tag": "bumpp", "release": "bumpp && npm publish" }, "devDependencies": { "@antfu/eslint-config": "^4.2.1", "@antfu/ni": "^24.1.0", "@types/node": "^22.15.17", "@vitest/coverage-v8": "3.2.4", "@vitest/ui": "^3.2.4", "bumpp": "^10.1.0", "eslint": "9.23.0", "eslint-plugin-format": "1.0.1", "lint-staged": "^15.5.0", "pnpm": "9.15.9", "simple-git-hooks": "^2.11.1", "tsdown": "^0.11.9", "typescript": "^5.8.3", "vitest": "^3.1.3" }, "simple-git-hooks": { "pre-commit": "npm run lint-staged" }, "lint-staged": { "*": "eslint --fix" } }