{"_id":"@brizy/content-placeholder","_rev":"13-81d219d59adac52cdad8933d50e5f21c","name":"@brizy/content-placeholder","dist-tags":{"latest":"1.0.9"},"versions":{"1.0.0":{"name":"@brizy/content-placeholder","version":"1.0.0","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.0","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"226a07d7eb39999c1c49876e9c5b9dd678e8de5a","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.0.tgz","fileCount":50,"integrity":"sha512-TAliASk5ZUu4FnOcdDDRQcvsoTgzWYcWKqNFGqQfhO6Z5R/zBdJw26Ajj0fcOglOQLQrp5m1Y0bQgZ18uYYbpQ==","signatures":[{"sig":"MEUCIBGzpk0qKojw8wTfICQBWLuVFzTNY6vq0CMgrdFls+6yAiEAlsorfm2Y9KGKMbVAz2tRPRnKRNvdOzb77aDWNyBATpg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45953},"main":"build/index.js","type":"module","types":"build/index.d.ts","module":"build/es/index.js","gitHead":"f80be7f54aa8488a213d47be2b93725c3001be7c","scripts":{"dev":"npx nodemon","tsc":"tsc --noEmit","lint":"npx eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npx tsc","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./build","start":"npm run build && node build/index.js","build:es":"rimraf ./build/es && npx swc ./src -d ./build/es/","prepublishOnly":"npm run clean && npm run check && npm run build && npm run build:es","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","nodemon":"^3.0.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.0_1720596434629_0.7374217294553109","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@brizy/content-placeholder","version":"1.0.1","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.1","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"cbdd37bc82d787a1fac92e51cb4d6085864c757d","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.1.tgz","fileCount":3,"integrity":"sha512-TX7PwPdYH5sfm47lVN1awofWca+HUC8cF8/TWfCCsjw7yGkrCbHjXHB9ax3oqR8vnSfOAmDO5ftRO2j2mASO4w==","signatures":[{"sig":"MEUCIQD18IO3AcPArDJDXtsHsbTTYk6JW/HABTOGyYRmXkzcWwIgATRTGV54heC+bKuFlkj93W+/iwJ9+p9Jsy0ud2xKFW4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6639},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"a1230e38cee0b26ef5a1c6ff550b397d22756e72","scripts":{"dev":"npx nodemon","tsc":"tsc --noEmit","lint":"npx eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","start":"npm run build && node build/index.js","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"npx tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","nodemon":"^3.0.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.1_1721300688526_0.7596065535490706","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@brizy/content-placeholder","version":"1.0.2","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.2","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"8b58bd65290102fbc23349734700c7de416847b2","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.2.tgz","fileCount":50,"integrity":"sha512-6/HVOucNSo1FHMrcTkO0wRbrTn2+fYbsCmdEmX3r5zP4VTYFgLieammhHhdT+9f4c8uMADZ1f50PMVMW59Z9zQ==","signatures":[{"sig":"MEUCIQDGaaWgAbRur1ZRgfrXhoKR4YZGnQF7SRctM99/fWBO7gIgJBAZUiKEzNB6NX8O8XiddL++4U1v8sWhe3RqHdPSrWo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48506},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"a1230e38cee0b26ef5a1c6ff550b397d22756e72","scripts":{"dev":"npx nodemon","tsc":"tsc --noEmit","lint":"npx eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","start":"npm run build && node dist/cjs/index.js","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"npx tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","nodemon":"^3.0.1","ts-jest":"^29.1.1","ts-node":"^10.9.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.2_1721301276301_0.8195172327890936","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@brizy/content-placeholder","version":"1.0.3","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.3","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"1eac8cfa2d20a7aa4e96a65bcc6f90d1641eaed3","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.3.tgz","fileCount":50,"integrity":"sha512-CBu+gxV4dU3N7GG4FIfeenRS9VpFhmU/D5cmWm/sd/hfkXvFf61T7cx0BasFX+pTNGi9jHpM5WzOLvwvfdQrMQ==","signatures":[{"sig":"MEUCIQD5tTZUuREGZs5I565wtkGt8aTMRCt9GtK/R7R3za3xAgIgQK2DoBWbTdT28QHjS6C8QVxH684LgPHjjuhHUttq/0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51026},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"1cc292f275b964560e52eb6db51b3163a298fd9c","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","ts-jest":"^29.1.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.3_1724660280417_0.3373052023490304","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@brizy/content-placeholder","version":"1.0.4","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.4","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"4eab54e4706edada88ba292e6706ad2b02f9f9c0","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.4.tgz","fileCount":50,"integrity":"sha512-8WvtMsblqkCrQWXUUE88iVHu5FVt4LT1eDpLM7t3rcLZibZl9KP9A/+W1wcdLmcVGDuse2uhQyACgg6ScZrAtg==","signatures":[{"sig":"MEUCIGlWkUonRODH4N0uk76tUU5j9EYzQ4Nq+7fC+tZjJJ6yAiEAjz8kbKhdNPd+xpcdkCNNRgEzjtqxBHgPZbFhoyKZJ4M=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51287},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"91fbbb32b62069cb970fced558cdc6460391f1d7","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","ts-jest":"^29.1.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.4_1724757555019_0.6178293685143159","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@brizy/content-placeholder","version":"1.0.5","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.5","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"4421330eb3547a8fcf5a2633230da8551ed24f08","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.5.tgz","fileCount":50,"integrity":"sha512-CfNyAx6/cELcY2pxGaIJ6xYuHaJLi9BdaEF6DwSHwHeiTBKcRGAUyTEAw/tN80HLomyY/h3SQriLmCJaKwGjNg==","signatures":[{"sig":"MEYCIQC6SV2RxvK78sknH1Aws/n9nCuChoj/v34aSn0wfbF9VQIhAM6ZkaxMyGpshbeu/5YYzGjsBCe9mJboKxu5B9Htbc+k","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":51299},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"499a05608da331a094ee4aa284f9bbd23063655a","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","ts-jest":"^29.1.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.5_1725275220950_0.8372523934406544","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@brizy/content-placeholder","version":"1.0.6","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.6","maintainers":[{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"e6784f58d861c18eca0bc8041e3589272c2c925f","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.6.tgz","fileCount":50,"integrity":"sha512-+Iw7P8jBMYgVxHyo/F/IwPLh6A9F5ix3YtVEDe9tlre76McOaxfJcm9DE85yG6w6L6IHMj3q9vqs97z9oSss1A==","signatures":[{"sig":"MEQCIA/ZDRyR2Ric666qZgbULrwsryjR6eSHaBqYXeo6H4u9AiAx5GwDAYJuFOI0GWQSPwcWtl0sf13G/KShLanxtbmt4Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":54143},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"6e97fd8463c264ceba7f763e52add04592d01253","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","ts-jest":"^29.1.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.6_1725622510817_0.8568479953229928","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@brizy/content-placeholder","version":"1.0.7","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.7","maintainers":[{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"nessunskill","email":"fazly.iura@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"eaa59622adbf7aeb162a6b908d95f02aadc1e182","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.7.tgz","fileCount":50,"integrity":"sha512-55QG7+CRKAsiL56OboHkHqTLc4j9QyhslURepPPmfDM6YCdYJPTpdNmkVhQTU9NQl/cecbn6xftXvE3NkjFq/w==","signatures":[{"sig":"MEUCIGzkcPsmkUM9z/ACsgfWjDyvlX9nprfOLJj8VUC14fxaAiEAt/g2bQSSdGXlxfpOxJsKDLEaYr5+fqewTC4kXb8Cca8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":65186},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"0ffb8fc1401dd365be4f6f8ad66e14952874d734","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"NODE_OPTIONS=--experimental-vm-modules jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"redd97","email":"kingstoonesis@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"18.20.3","dependencies":{"leac":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","ts-jest":"^29.1.1","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.4","@types/node":"^20.5.6","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.7_1733402686880_0.17422969013358558","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@brizy/content-placeholder","version":"1.0.8","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.8","maintainers":[{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"victor-pg","email":"victor.poalelungi1@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"27bc78b8cb6ca2ca34ab18e48b7ded2dab3d3d2e","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.8.tgz","fileCount":38,"integrity":"sha512-5rXujYE9Wo0RifcOkjcXnSlHM0h/SSQZH/Q0TMULv9O1AAfcZwBFQ92Wwk9lyx8WtvOy8OV3Ig3R6L01cR5aMw==","signatures":[{"sig":"MEUCIGQsFMpQfFC2jpn1pdwUIpJLn7s7aV6g01Oiqj/jUkfbAiEA4nSmgts1Rru7wTJExSnxR8jSU34pfn9AcLeXevIMl6k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":58620},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"2c709bfe00648370af021b2fe64aeab200d9fd62","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"maxval","email":"maxvalwork1991@gmail.com"},"_npmVersion":"10.7.0","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"20.14.0","dependencies":{"leac":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^5.0.1","ts-jest":"^29.1.1","ts-node":"^10.9.2","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.14","@types/node":"^20.17.17","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.8_1763371504333_0.6822334211337207","host":"s3://npm-registry-packages-npm-production"}},"1.0.9":{"name":"@brizy/content-placeholder","version":"1.0.9","keywords":["brizy","content","placeholder"],"author":{"name":"brizy"},"license":"ISC","_id":"@brizy/content-placeholder@1.0.9","maintainers":[{"name":"oleg-brizy","email":"oleg@brizy.io"},{"name":"sergiu.bagrin","email":"sergey.roxigo@gmail.com"},{"name":"maxval","email":"maxvalwork1991@gmail.com"},{"name":"gheorghep","email":"pisarenco.gh@gmail.com"},{"name":"lift46252","email":"sasa.lefter@gmail.com"},{"name":"redd97","email":"kingstoonesis@gmail.com"},{"name":"victor-pg","email":"victor.poalelungi1@gmail.com"}],"homepage":"https://brizy.io","dist":{"shasum":"b5da89ce9a62be4736c19aa02076627bc5655d6e","tarball":"https://registry.npmjs.org/@brizy/content-placeholder/-/content-placeholder-1.0.9.tgz","fileCount":38,"integrity":"sha512-P83/RXpRxdLIoMFkegXcZIyvWRKwBBHLrwEFci0bE6dpmLDUfuKtKJUIGdhjR5WM6i96Lzu20OPIsl+gdF0i0w==","signatures":[{"sig":"MEQCIEDQzlV9JHQ78z0f8PHO6VcZaq71wNYXHi4UWMtVv1nIAiAzquhtqg0MstwyXfecHEYySZjzhDRGKEabFeMwZL+xdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":50147},"main":"dist/cjs/index.js","type":"module","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","gitHead":"a1ceb663662e9eedea8767502b0549c3853f04d3","scripts":{"dev":"tsc --watch","tsc":"tsc --noEmit","lint":"eslint ./src","test":"jest test","build":"npm run clean && npm run build:esm && npm run build:cjs","check":"npm run lint && npm run tsc && npm run test","clean":"rimraf ./dist","build:cjs":"npx swc ./src -d ./dist/cjs/","build:esm":"tsc --sourceMap false --declarationMap false","prepublishOnly":"npm run check && npm run build","prettier:check":"prettier --config .prettierrc --check src\"**/*.*\"","prettier:write":"prettier --config .prettierrc --write src\"**/*.*\""},"_npmUser":{"name":"maxval","email":"maxvalwork1991@gmail.com"},"_npmVersion":"10.8.2","description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","directories":{},"_nodeVersion":"20.19.5","dependencies":{"leac":"^0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.47.0","rimraf":"^6.1.2","ts-jest":"^29.1.1","ts-node":"^10.9.2","@swc/cli":"^0.1.62","prettier":"^3.0.2","@swc/core":"^1.3.85","typescript":"5.1.6","@types/jest":"^29.5.14","@types/node":"^20.17.17","@jest/globals":"^29.7.0","@typescript-eslint/parser":"^6.4.1","@typescript-eslint/eslint-plugin":"^6.4.1"},"_npmOperationalInternal":{"tmp":"tmp/content-placeholder_1.0.9_1767623798664_0.6942188763708956","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-07-10T07:27:14.491Z","modified":"2026-06-04T14:04:47.932Z","1.0.0":"2024-07-10T07:27:14.783Z","1.0.1":"2024-07-18T11:04:48.657Z","1.0.2":"2024-07-18T11:14:36.447Z","1.0.3":"2024-08-26T08:18:00.580Z","1.0.4":"2024-08-27T11:19:15.184Z","1.0.5":"2024-09-02T11:07:01.120Z","1.0.6":"2024-09-06T11:35:10.946Z","1.0.7":"2024-12-05T12:44:47.021Z","1.0.8":"2025-11-17T09:25:04.531Z","1.0.9":"2026-01-05T14:36:38.809Z"},"author":{"name":"brizy"},"license":"ISC","homepage":"https://brizy.io","keywords":["brizy","content","placeholder"],"description":"Brizy content placeholders used to put dynamic data in compiled page (PREVIEW)","maintainers":[{"email":"sergey.roxigo@gmail.com","name":"sergiu.bagrin"},{"email":"maxvalwork1991@gmail.com","name":"maxval"},{"email":"pisarenco.gh@gmail.com","name":"gheorghep"},{"email":"sasa.lefter@gmail.com","name":"lift46252"},{"email":"kingstoonesis@gmail.com","name":"redd97"},{"email":"elementaryartgun@gmail.com","name":"artgun1"},{"email":"victor.poalelungi1@gmail.com","name":"victor-pg"}],"readme":"# Brizy content placeholders sdk\n\nLet's assume we have an email template that must be sent for many users and this template must contain the username and some other dynamic info.\n\nEmail template:\n```\nHi {{username}}\nI wanted to personally welcome you to {{company-name}}\nIf you have any questions, you can always email us to {{our-email}}\n\nBest Regards.\n```\n\nAs you can see the template above contains three placeholders *username*, *company-name* and *our-email*.\n\nThis can easily achieved by replacing the strings with str_replace but what if you have 100  placeholders and some of them must get info from resources like a DB or an API.\n\n\n### Architecture\n\nFew words about the classes you will work with\n\n#### Registry Class\nA class that manage the palceholders. You can register or obtain placeholders. See the examples blow.\n\n#### Placeholder Interface\nAll placeholders must implement this interface.\n\nThe `getValue` method must return the string that will replace the placeholder. This method receive a context and the content placeholder object (An object that contain all the info  about the placeholder found in the original content)\n\nThe `support` method must return true if the class can handle the placeholder.\n\n#### Context Interface\nThere are cases when the placeholder will need some specific info like the current page or current request, session, etc..  all these objects must be passed in a context object.\n\n#### Replacer Class\nThe class has only one method: replacePlaceholders. Self explanatory :).\n\n---\n### Get Started\nFirst you must create your own design of placeholder. You can extend the `AbstractPlaceholder`\n\n```typescript\nimport { AbstractPlaceholder } from \"@brizy/content-placeholder\"\nimport type { Attr } from \"@brizy/content-placeholder\"\n\nexport class Placeholder extends AbstractPlaceholder {\n  protected label: string \n  protected placeholder: string\n  protected value: string\n  protected attributes: Attr | undefined\n  constructor(label: string, placeholder: string, value: string, attrs?: Attr) {\n    super()\n    this.label = label\n    this.placeholder = placeholder\n    this.value = value\n    if (attrs) {\n      this.setAttributes(attrs)\n    }\n  }\n\n  public setAttributes(attrs: Attr) {\n    this.attributes = attrs\n  }\n\n  public getAttributes(): Attr | undefined {\n    return this.attributes\n  }\n\n  public getLabel(): string {\n    return this.label\n  }\n\n  public setLabel(label: string) {\n    this.label = label\n  }\n\n  public setPlaceholder(placeholder: string) {\n    this.placeholder = placeholder\n  }\n\n  public getPlaceholder(): string {\n    return this.placeholder\n  }\n\n  public support(placeholderName: string): boolean {\n    return placeholderName === this.placeholder\n  }\n\n  public getValue(): string {\n    return this.value\n  }\n\n  public getConfigStructure() {\n    return {\n      id: this.getUid(),\n      label: this.getLabel(),\n      name: this.getPlaceholder(),\n      placeholder: this.buildPlaceholder(),\n      attr: this.getAttributes(),\n      varyAttr: this.getVaryAttributes(),\n    }\n  }\n}\n\n```\n\n### Register you placeholder\n\n```typescript\nimport { Registry } from \"@brizy/content-placeholder\"\n// Initialize a register of placeholder\nconst registry = new Registry();\n\n// Create placeholders:\nconst titlePlaceholder = new Placeholder(\"label\", \"title\",\"HomePage\");\n//...\n\n// Add created placeholder to the registry\nregistry.registerPlaceholder(titlePlaceholder);\n```\n\n### Replace placeholder with their value\n\n```ts\nimport { EmptyContext, Replacer } from \"@brizy/content-placeholder\"\n\n//Initialize replacer with the registry of placeholders\nconst replacer = new Replacer(registry);\n\n// and then you can use this to replace placeholdes with your values\n\nconst htmlWithPlaceholders = `\n<div>\n    <h1>{{title}}</h1>\n    <article>\n        //... rest of page\n    </article>\n</div>\n`;\n\nconst finalHTML = replacer.replacePlaceholders(htmlWithPlaceholders, new EmptyContext());\n\n// and the final HTML will be\nconsole.log(finalHTML); // return the html with replaced values.\n```\n\nAnd the finalHTML value is :\n```html\n<div>\n    <h1>HomePage</h1>\n    <article>\n    //... rest of page\n    </article>\n</div>\n```\n\n","readmeFilename":"README.md"}