{"_id":"@abouta/prompt-forge","_rev":"12-12b83239d5d13d7f0dacbdd599365f21","name":"@abouta/prompt-forge","dist-tags":{"latest":"1.0.11"},"versions":{"1.0.0":{"name":"@abouta/prompt-forge","version":"1.0.0","keywords":["ai","llm","prompt","prompt-engineering","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.0","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/votre-nom-github/prompt-forge#readme","bugs":{"url":"https://github.com/votre-nom-github/prompt-forge/issues"},"dist":{"shasum":"15d62588555187a5eac084894cc775cd86e6faa3","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.0.tgz","fileCount":6,"integrity":"sha512-kzNxnRpxkulttVuZ5XJ/6ow9dLPk+9l91PRkE7BWnNtEXTAAnnnosgSy1OoICLu/4XxwxMDPeDNNS5Q5IiJYKw==","signatures":[{"sig":"MEUCICK95GL1CMGmEeQdE61cDdhMvNPBHZIYwy2nkMFkDxh3AiEA7/cTxl8BhyXfdJ//aI4swu6fRWSF9qE2cZwD7lHEZYk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17710},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"94efbe08591134e4c33d9dee2a8eaf3786cad58b","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.0_1753204270832_0.541477405541275","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@abouta/prompt-forge","version":"1.0.1","keywords":["ai","llm","prompt","prompt-engineering","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.1","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/votre-nom-github/prompt-forge#readme","bugs":{"url":"https://github.com/votre-nom-github/prompt-forge/issues"},"dist":{"shasum":"5403f438704ecf8cfd3c4f9865e771c07a9cdf05","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.1.tgz","fileCount":7,"integrity":"sha512-Vvq9/Uh+6u90mkQJQIKvrmKlN8x5bDAe6qfxiwRxFKrj/81Jq/e7UrcLpWL3oAQDKgUWTz7vUV2/DAxbnQ2xew==","signatures":[{"sig":"MEUCIAPyZUmnpEVUz9RW6TVUflHi3hHpF4HIo8q223i/h3I2AiEAqkTWQ0QbTT/8f0UzCS6KFr7WTAZO/ouFBqdH4kCy7mw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18782},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e21460ef80fb9fff6756b1b46bdce116a3732487","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.1_1753205936797_0.2689865266283602","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@abouta/prompt-forge","version":"1.0.2","keywords":["ai","llm","prompt","prompt-engineering","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.2","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/votre-nom-github/prompt-forge#readme","bugs":{"url":"https://github.com/votre-nom-github/prompt-forge/issues"},"dist":{"shasum":"d4c87c86c7f56f31446e29e3435374f39b4270b6","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.2.tgz","fileCount":7,"integrity":"sha512-g0glLHRyN86RlFven51LsFIFTCNB+4BrAPPKAQfNZIEcnkLydIlU4x3EacG6X9mrR4lEaTFx0oShS4Wb4Oi2ZQ==","signatures":[{"sig":"MEYCIQCoksRoIxL+3T8GHeqYrBh3FUw3aL4gozRzE3Z0j/AGKAIhAPHy71jDayxz/bMZICk25arKPztGoXIUJhokTETwXpew","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18846},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e21460ef80fb9fff6756b1b46bdce116a3732487","scripts":{"test":"jest","build":"tsc","prepare":"npm run build"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.2_1753206477614_0.2664584542805024","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@abouta/prompt-forge","version":"1.0.3","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.3","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/aboucodeur/prompt-forge#readme","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"dist":{"shasum":"23675a31d50e642d27bde5ecfe144fd76f4a3922","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.3.tgz","fileCount":7,"integrity":"sha512-s4bSWA5J5bUmOKHRzbuYEylvRRuFSPZsXBwmlYW0fgBCm7FLO/aayyr+fFP994bJpob5tu9u0+v0NugT8sh2AA==","signatures":[{"sig":"MEYCIQCsgx/cZRZR+Zh5syALbNQ6nH+DIBLAOaEYExol2YPdBwIhAJGM5wSmG1H+furpOpm/q4+4gte2VQSdIAD/apPSUBw3","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18854},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a9ec282b433b2564b091cd7fd50bbbb91536834a","scripts":{"test":"jest","build":"tsc","prepare":"npm run build","publish":"npm publish --access public"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.3_1753207144066_0.15345352454889016","host":"s3://npm-registry-packages-npm-production"}},"1.0.4":{"name":"@abouta/prompt-forge","version":"1.0.4","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.4","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/aboucodeur/prompt-forge#readme","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"dist":{"shasum":"6e04af6dbdecbcf8eb65d51b2a7a9f6bad7ebc00","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.4.tgz","fileCount":7,"integrity":"sha512-ul3v60hL+BN1LoGyNa2d4Q0TwX/hhdJtLAUnFdxiYcekZhm0r4rESK3bohXwSEE5rXZUWW2isdl4ehbbLJMUPA==","signatures":[{"sig":"MEQCIDjk7FWEP220IB7kdDzgxu0Ai+6pUKEnV9+SdPOuSAsWAiB257xsujCJdtGE+/Nglsz4SAJr/mZaowGR1OhzOXYZPA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18854},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a9ec282b433b2564b091cd7fd50bbbb91536834a","scripts":{"test":"jest","build":"tsc","prepare":"npm run build","publish":"npm publish --access public"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.4_1753207163769_0.8173544932790291","host":"s3://npm-registry-packages-npm-production"}},"1.0.5":{"name":"@abouta/prompt-forge","version":"1.0.5","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.5","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/aboucodeur/prompt-forge#readme","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"dist":{"shasum":"7d996c462b6e210afb3328d43592ec445b3d538a","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.5.tgz","fileCount":7,"integrity":"sha512-iThGpVh71fqu3cTVje5G9iYksrYx39IQbLu1YCs+X8YXbEr9S6isn1Hmzz9EiiV/aJStpzFBXzBJRQJ1iF2YpA==","signatures":[{"sig":"MEUCIQCiv76JIzVDXRmhXwlTkZicM98+lcL9tjr+nBX6Q+NV5QIgWhyTdbEaoENxLNEIsFoSq4vClAwYKHhTI02/bhJ+CiA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18854},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a9ec282b433b2564b091cd7fd50bbbb91536834a","scripts":{"test":"jest","build":"tsc","prepare":"npm run build","publish":"npm publish --access public"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.5_1753207251520_0.9021375614859182","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@abouta/prompt-forge","version":"1.0.6","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.6","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/aboucodeur/prompt-forge#readme","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"dist":{"shasum":"5723556e17a092d1a7ad1f8711aea6aacb3a7201","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.6.tgz","fileCount":7,"integrity":"sha512-lIgE7+OLp+3eP84thXc6Vu1jz5vo5TlPE2YweaQ4mvXWLge27vOouG8l0ojB/K25XKC12pGF4I/2T/HAy40TUQ==","signatures":[{"sig":"MEUCIQDUEcdWPBa5ZJiclAXbt+sRH60dOd8FrGYgfTfldaQjkwIgTVuGkSS9uWs4tBFyHTNwnHd6OrJU1ujfnXlrXOH4WQQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18854},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a9ec282b433b2564b091cd7fd50bbbb91536834a","scripts":{"test":"jest","build":"tsc","prepare":"npm run build","publish":"npm publish --access public"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","dependencies":{"gpt-tokenizer":"^3.0.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.6_1753207262647_0.2692583573576848","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@abouta/prompt-forge","version":"1.0.7","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.7","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/aboucodeur/prompt-forge#readme","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"dist":{"shasum":"29ad2e9e232073592978165f4b8ed527168ab55b","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.7.tgz","fileCount":12,"integrity":"sha512-lNT4nYnEEMZU3A7Bd8+9uJ+VsBdbotf0qV4J0aIsQ48gybo72h1rj1LEjgyu0bjoQ2IpKMc+6XggmDI4XANhUA==","signatures":[{"sig":"MEUCIQCvVL3tVc11mkvPX5vEveBqov5Ml6QKIvu+l0FcJ7vyrwIgPENvDm0RmJlOB5nviD1quZN73BIi8Lu5g43VJsaxNEs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":34975},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"fd927aa005e4048960c7e0ef2133bca447df8859","scripts":{"test":"jest","build":"tsc && node build.js","minify":"node build.js --minify","prepare":"npm run build","publish":"npm publish --access public","release":"standard-version","build:dev":"tsc","build:prod":"node build.js","release:first":"standard-version --first-release","release:major":"standard-version --release-as major","release:minor":"standard-version --release-as minor","release:patch":"standard-version --release-as patch"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.21.5","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2","standard-version":"^9.5.0","esbuild-node-externals":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.7_1753219623234_0.9429076610360108","host":"s3://npm-registry-packages-npm-production"}},"1.0.10":{"name":"@abouta/prompt-forge","version":"1.0.10","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","_id":"@abouta/prompt-forge@1.0.10","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"homepage":"https://github.com/aboucodeur/prompt-forge#readme","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"dist":{"shasum":"0dc978e3bab7603cad2c611fb7f1a1d27fe5a0db","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.10.tgz","fileCount":14,"integrity":"sha512-wm1Xs/dAgmH9bPhWt+rYE9LodHTnjvnyZWtxYjVzULDQtTyloWYkAs+EyVjn1be7lyCIR+wchUuCMO5DcDXN+Q==","signatures":[{"sig":"MEYCIQDUkueLtbCFsKyxSW17go1kB/Km3JpsE3OuUiCl8NpOKQIhAIlf/up4KpluYh2mjd+jHnLo/rtCNceQYemWS+Or2y3L","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31354},"main":"dist/index.js","_from":"file:abouta-prompt-forge-1.0.10.tgz","types":"dist/index.d.ts","scripts":{"test":"jest","build":"rm -rf dist; tsc && node build.js","minify":"node build.js --minify","release":"standard-version","build:dev":"rm -rf dist; tsc","build:prod":"rm -rf dist; node build.js","release:first":"standard-version --first-release","release:major":"standard-version --release-as major","release:minor":"standard-version --release-as minor","release:patch":"standard-version --release-as patch"},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"_resolved":"/private/var/folders/3x/9gvfgb9x0bx3wbj410t4cj2h0000gp/T/a31bc2d68de231f7cef0eab308f9a186/abouta-prompt-forge-1.0.10.tgz","_integrity":"sha512-wm1Xs/dAgmH9bPhWt+rYE9LodHTnjvnyZWtxYjVzULDQtTyloWYkAs+EyVjn1be7lyCIR+wchUuCMO5DcDXN+Q==","repository":{"url":"git+https://github.com/aboucodeur/prompt-forge.git","type":"git"},"_npmVersion":"10.9.2","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","esbuild":"^0.21.5","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5","@types/jest":"^29.5.12","@types/node":"^20.14.2","standard-version":"^9.5.0","esbuild-node-externals":"^1.8.0"},"_npmOperationalInternal":{"tmp":"tmp/prompt-forge_1.0.10_1753275845104_0.646062385650148","host":"s3://npm-registry-packages-npm-production"}},"1.0.11":{"name":"@abouta/prompt-forge","version":"1.0.11","description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"jest","build":"rm -rf dist; tsc && node build.js","build:dev":"rm -rf dist; tsc","build:prod":"rm -rf dist; node build.js","prepare":"npm run build","minify":"node build.js --minify","prepublishOnly":"npm run build","publish":"npm publish --access public","release":"standard-version --no-verify","release:minor":"standard-version --release-as minor --no-verify","release:major":"standard-version --release-as major --no-verify","release:patch":"standard-version --release-as patch --no-verify","release:first":"standard-version --first-release --no-verify","postrelease":"npm run build && npm publish"},"repository":{"type":"git","url":"git+https://github.com/aboucodeur/prompt-forge.git"},"keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"homepage":"https://github.com/aboucodeur/prompt-forge#readme","devDependencies":{"@types/jest":"^29.5.12","@types/node":"^20.14.2","esbuild":"^0.21.5","esbuild-node-externals":"^1.8.0","jest":"^29.7.0","standard-version":"^9.5.0","ts-jest":"^29.1.4","ts-node":"^10.9.2","typescript":"^5.4.5"},"_id":"@abouta/prompt-forge@1.0.11","gitHead":"fa5952b2f0bc4a6c15838f1b147f958d8009b055","_nodeVersion":"22.16.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-ze/wzOdiwKmorQbOPySCswqN3rUimBM2JI0E8W6+cu3Kq1DUQlqSl7HK0w0ryeDqWjzzDvnNwWFVn+5AuoN7Ww==","shasum":"856647e84f2a3e3f7ac2e992a27b28b3d6678d6d","tarball":"https://registry.npmjs.org/@abouta/prompt-forge/-/prompt-forge-1.0.11.tgz","fileCount":14,"unpackedSize":31884,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIC7VvC560n2/t5GNIrS4LDjVv3BR+wTi6uQR4tQN3G7/AiAYtNwnD3qNVZfWHwP1hUKOS/WJymouCtXHVIEMyLE5zg=="}]},"_npmUser":{"name":"abouta","email":"codeurabou123@gmail.com"},"directories":{},"maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/prompt-forge_1.0.11_1753288509514_0.8454279186007638"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-22T17:11:10.697Z","modified":"2025-07-23T16:35:09.949Z","1.0.0":"2025-07-22T17:11:11.033Z","1.0.1":"2025-07-22T17:38:56.966Z","1.0.2":"2025-07-22T17:47:57.804Z","1.0.3":"2025-07-22T17:59:04.248Z","1.0.4":"2025-07-22T17:59:24.198Z","1.0.5":"2025-07-22T18:00:51.710Z","1.0.6":"2025-07-22T18:01:02.856Z","1.0.7":"2025-07-22T21:27:03.501Z","1.0.9":"2025-07-23T12:02:53.359Z","1.0.10":"2025-07-23T13:04:05.283Z","1.0.11":"2025-07-23T16:35:09.767Z"},"bugs":{"url":"https://github.com/aboucodeur/prompt-forge/issues"},"author":{"name":"Softia","email":"codeurabou123@gmail.com"},"license":"MIT","homepage":"https://github.com/aboucodeur/prompt-forge#readme","keywords":["ai","llm","prompt","typescript","builder","openai","anthropic"],"repository":{"type":"git","url":"git+https://github.com/aboucodeur/prompt-forge.git"},"description":"A lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.","maintainers":[{"name":"abouta","email":"codeurabou123@gmail.com"}],"readme":"# Prompt Forge\n\n![npm](https://img.shields.io/npm/v/@abouta/prompt-forge)\n![license](https://img.shields.io/npm/l/@abouta/prompt-forge)\n![size](https://img.shields.io/bundlephobia/minzip/@abouta/prompt-forge)\n\n<div align=\"center\" style=\"margin-bottom: 20px;\">\n    <img src=\"./logo.png\" alt=\"PF-LOGO\" width=\"30%\" />\n</div>\n\nA lightweight, zero-dependency library for building robust and maintainable LLM prompts in TypeScript.\n\n## Why Prompt Forge?\n\nManaging complex prompts as simple strings is messy and error-prone. Heavy frameworks like LangChain are powerful but can be overkill. **Prompt Forge** gives you the power of structured, dynamic prompts without the overhead.\n\n- ✅ **Zero Dependencies:** Tiny and fast.\n- ✅ **Type-Safe:** Full TypeScript support.\n- ✅ **Robust:** Validates prompts to prevent errors.\n- ✅ **Maintainable:** Separates logic, structure, and data.\n\n## Gestion des versions\n\nCe projet utilise [standard-version](https://github.com/conventional-changelog/standard-version) pour la gestion automatique des versions et la génération des notes de version.\n\n### Commandes disponibles\n\n- `pnpm run release` : Crée une nouvelle version en fonction des commits (détermine automatiquement le type de version)\n- `pnpm run release:patch` : Crée une version de correctif (0.0.x)\n- `pnpm run release:minor` : Crée une version mineure (0.x.0)\n- `pnpm run release:major` : Crée une version majeure (x.0.0)\n- `pnpm run release:first` : Crée la première version du projet\n\n### Convention de commits\n\nPour une gestion optimale des versions, suivez ces conventions de commit :\n\n- `feat:` Nouvelle fonctionnalité (incrémente la version mineure)\n- `fix:` Correction de bug (incrémente la version de correctif)\n- `docs:` Mise à jour de la documentation\n- `style:` Changements de formatage (espace, point-virgule, etc.)\n- `refactor:` Refactorisation du code sans changement de fonctionnalité\n- `perf:` Amélioration des performances\n- `test:` Ajout ou modification de tests\n- `chore:` Mise à jour des tâches de construction, configuration, etc.\n\nExemple :\n\n```bash\ngit commit -m \"feat: ajout d'une nouvelle méthode de construction de prompt\"\n```\n\n## Installation\n\n```bash\nnpm install @abouta/prompt-forge\n```\n\n## Usage\n\n```typescript\nimport { PromptBuilder } from \"@abouta/prompt-forge\";\n\nconst prompt = new PromptBuilder(`\n    Your are a helpful assistant and you role is to answer the user query.\n    --\n    user query : {{user_query}}\n`);\n\n// add section easly : is support prompt structuration\nprompt.addSection(\"system_constraints\",\n`\n    - Your response must be in markdown format.\n    - Don't add any additional information.\n    - Be concise and clear.\n`\n);\n\nprompt.addArgument(\"user_query\", \"What is next js ?\");\n\n// add examples easly\nprompt.addExamples([\n    {\n        query: \"Who is creator of prompt-forge?\",\n        response: \"The creator of prompt-forge is Softia.\"\n    },\n    {\n        query: \"What is next js ?\",\n        response: \"Next.js is a React framework for building server-rendered and statically generated web applications.\"\n    }\n]);\n\nconst promptString = prompt.build();\nconsole.log(promptString);\n\n// output :\n\n// Your are a helpful assistant and you role is to answer the user query.\n// --\n// user query : What is next js ?\n\n// <system_constraints>\n//     - Your response must be in markdown format.\n//     - Don't add any additional information.\n//     - Be concise and clear.\n// </system_constraints>\n\n// <examples>\n//     <query>Who is creator of prompt-forge?</query>\n//     <response>The creator of prompt-forge is Softia.</response>\n//     <query>What is next js ?</query>\n//     <response>Next.js is a React framework for building server-rendered and statically generated web applications.</response>\n// </examples>\n\n```\n","readmeFilename":"README.md"}