@hackylabs/deep-redact
Version:
A fast, safe and configurable zero-dependency library for redacting strings or deeply redacting arrays and objects.
89 lines (88 loc) • 2.74 kB
JSON
{
"name": "@hackylabs/deep-redact",
"version": "2.2.1",
"description": "A fast, safe and configurable zero-dependency library for redacting strings or deeply redacting arrays and objects.",
"private": false,
"license": "MIT",
"author": "Benjamin Green (https://bengreen.dev)",
"funding": "https://ko-fi.com/hackylabs",
"types": "./dist/types/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"exports": {
".": {
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts"
},
"./utils/redactorUtils": {
"import": "./dist/esm/utils/redactorUtils.mjs",
"require": "./dist/cjs/utils/redactorUtils.js",
"types": "./dist/types/utils/redactorUtils.d.ts"
}
},
"files": [
"dist"
],
"keywords": [
"json",
"xml",
"document",
"fast",
"redact",
"redaction",
"redactor",
"redacting",
"redacted",
"secrets",
"sensitive data",
"sensitive information",
"personal data",
"personally identifiable information",
"general data protection regulation",
"data protection",
"data security",
"GDPR",
"PII"
],
"repository": {
"type": "git",
"url": "git+https://github.com/hackylabs/deep-redact"
},
"scripts": {
"lint": "eslint",
"build": "npm run lint && npm run test && npm run bench && npm run build:esm && npm run build:cjs && npm run update-readme && npm run update-license",
"build:esm": "tsc --project tsconfig.esm.json && ./scripts/js-to-mjs.sh",
"build:cjs": "tsc --project tsconfig.cjs.json",
"bench": "npx vitest bench --watch=false",
"bench:dev": "npx vitest bench",
"test:dev": "npx vitest",
"test": "npx vitest run",
"update-readme": "npx ts-node ./scripts/update-readme.ts",
"update-license": "npx ts-node ./scripts/update-license.ts"
},
"//": [
"fast-redact and obglob are installed only as benchmark comparisons and are not used in the library",
"all dependencies are for development purposes only"
],
"devDependencies": {
"@hackylabs/obglob": "1.1.2",
"@memlab/core": "1.1.34",
"@types/fast-redact": "3.0.4",
"@types/node": "20.14.12",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"@vitest/coverage-v8": "2.0.4",
"eslint": "8.57.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-n": "17.9.0",
"eslint-plugin-promise": "7.0.0",
"fast-redact": "3.5.0",
"image-charts": "6.1.19",
"superjson": "2.2.1",
"typescript": "5.6.2",
"vitest": "2.0.4"
}
}