{"_id":"@cyndie/synthedata","_rev":"14-dd02efa9c7c44c169c8de72b739b2995","name":"@cyndie/synthedata","dist-tags":{"latest":"0.2.4"},"versions":{"0.1.1":{"name":"@cyndie/synthedata","version":"0.1.1","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.1","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"bdf560faa4057bdc624666d6139b2e2d0d61e052","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.1.tgz","fileCount":16,"integrity":"sha512-tBowJbN/PeuoFI4Y/RUygRJxb7+gIw3wU3qi27i6diAyeauT+G0B4ma9OK2+/B3RiNzzSY4zJJdBoiy8Snpnng==","signatures":[{"sig":"MEUCIQDNbAFb37EOcRSC5ItEdPNaDQddJedbN3gfeaYApxu+PQIgaF+FcijfE+RQ1gDAtoVKElGo+kLChLsrHjXI3uPMcKI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14875},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"005e5c912109395d52903ce8c8a960d634871d54","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"zod":"^3.23.8","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.1_1752336758277_0.4609918933959307","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@cyndie/synthedata","version":"0.1.2","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.2","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"32149f8995ed231dbf3dc2ebd5d9a49ba079c784","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.2.tgz","fileCount":16,"integrity":"sha512-9cP5KnOZA+uVPgn7puyjSq0xvv4MrYqQPIXJcgxRaAXnsx0YT0nSqop2w9KcZ39ur3RIgiNYZYQ2EmcuZx3yfg==","signatures":[{"sig":"MEUCIHAJTXxkp33ReI9cvGGjRSeEOFZd7deCCWNlN9dlQqBhAiEA+2nXTUEAhvSBwtfdUEZ76YCtm3Icw0EnZKY2lIixtOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14986},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6386f2f88e7da720274bce69d3151e00a0dc9232","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"zod":"^3.23.8","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.2_1752339063898_0.4630610496172358","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@cyndie/synthedata","version":"0.1.3","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.3","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"24d73eb69b5f0719dd6cd8f58dd44318239b8b1e","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.3.tgz","fileCount":16,"integrity":"sha512-Y/SAL9aAqmHWCFRtJFebSrGCJZ70cOR+3zIqCH04kAySpjpT7ZzaISQE/eY/wUaDdN0f+a9ZC1XQszKCqTuvOA==","signatures":[{"sig":"MEYCIQDSPX87oNCMJ4E7bH1WBqVqo9AQSjmTVL83Bq3/GZ9EjQIhAJsxwf+cXfvgVn8Jse5oIQhX17cdgCs2MxwAtROSs/by","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17248},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"6386f2f88e7da720274bce69d3151e00a0dc9232","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.3_1752339449400_0.6908699949010086","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@cyndie/synthedata","version":"0.1.5","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.5","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"05d433b1b026c76d4642336ea7607b5bb66b90b3","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.5.tgz","fileCount":18,"integrity":"sha512-/eapvrwV/RlNG9MBnz3aNG3IQykBbMjATomjMMFSq69tmX3zG5WTAFMchbOCSkQI7bTqQ0xJmk4QWpB0pg9J7w==","signatures":[{"sig":"MEYCIQC6qwnRNO7xleD6WDGst/GcDHc1GVUk3d6ujknH2rNW7wIhAP++lHk6A12yWl8JbqbP3+H1UWPD4ewhG49lfWXPoJB5","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20802},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"a274a00255a8f10d525a633d4700649ef8a48d00","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.5_1752387175726_0.25332678145345455","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@cyndie/synthedata","version":"0.1.6","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.6","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"b2a4921f9dd48aa59d108bba5f12b72e157ec4c6","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.6.tgz","fileCount":26,"integrity":"sha512-M7NDFvV1prn/91zaFKBdxVO/6NImHy2LpQobBEokQa67IZw83IGXk86DI3RvF/5BaNs60YEhF+N9cUFpkZyDzw==","signatures":[{"sig":"MEYCIQDc9T2AsfpeNjD2Gj531PVpP90EXzL7K5YBykhThclbEwIhAPp1i+XCoBoLve1LClqEe7GlCsP2q6VWJOK0dslcUVX9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24388},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.6_1752389311379_0.7371499870760179","host":"s3://npm-registry-packages-npm-production"}},"0.1.7":{"name":"@cyndie/synthedata","version":"0.1.7","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.7","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"70116bb72d8f39fbd0e6deae3b11d31ae95918d0","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.7.tgz","fileCount":26,"integrity":"sha512-yDb5R6Juy7JZgxnraAMv1YDjeP2WtlwpOzgRwv4L6NigDn22TdWFRv1jHNl6OJG3vGLFuKNpsIfpE04cYBTqsg==","signatures":[{"sig":"MEUCICUym2hy6M66Y26NI0bBY1kck/7fmREV8lvwJrsfnb+gAiEAzv/1b8rb72TS6373Juuu95ey0mjsLWazmZZOe7NVJhU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":24388},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.7_1752389329887_0.6970757563163057","host":"s3://npm-registry-packages-npm-production"}},"0.1.8":{"name":"@cyndie/synthedata","version":"0.1.8","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.1.8","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"ea16a01e6b5d887b1a508cfb0432f1a3a2a489d6","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.1.8.tgz","fileCount":30,"integrity":"sha512-oeXrrIwnA+wme2HX8Ah0HSQx/W4fqieEwFKXNZZkulu+kDdZn1ND2qD9xEnT4Ntr6PxCUYY8dSp2N04klnbysw==","signatures":[{"sig":"MEUCIQDKVZtapNlU8cdVASEzpytVSI9RX6QMfV4gNnXtI+PGgAIgI8Lv43flpTQVO3OXIw/t28e1uuM+v86LKYj1XxC25yE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25621},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.1.8_1752390070928_0.683377413334799","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@cyndie/synthedata","version":"0.2.0","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.2.0","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"1078f18f8404ca76775eeecbdaef8f83dd0ff22d","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.2.0.tgz","fileCount":32,"integrity":"sha512-62pIrtgnmhgS3LlPVJ/8AJv1drdWiH1ALmBb7VYfn8UnSi1/hxhog8/MVLHONMH8GsfNLipoc2/aNXWheTeWig==","signatures":[{"sig":"MEUCIAOXISasTMupoDLbZUiJx3Fkix5kNHMONP9ELUXL3sh1AiEArIYEqpXl5No+QB2tJNdq4ikpmRaT3XDmC0kUS0gqGqc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":26723},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.2.0_1752491273537_0.11875698275474833","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@cyndie/synthedata","version":"0.2.1","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.2.1","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"2ee3eac208da45323240d2da4c966b76824b28b9","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.2.1.tgz","fileCount":32,"integrity":"sha512-C5uQ5eV8ZM1S6ER1IjrJJobOnsueji2VZVyZZcxEC4aZxxKqFmcMi1WeML18hMFbxZ+uaLRgSE1vUFMlMa8hgA==","signatures":[{"sig":"MEYCIQDw3SXJcO0DIkCwtTFuXUpqP+a1mfP4ZpzcItSbirzZLwIhAPMTg1cSsakmsZjiOjTpBadA3WagjIE+adi5D3H0FGjy","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27260},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.2.1_1752491514063_0.5504991750304247","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@cyndie/synthedata","version":"0.2.2","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.2.2","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"acfc9ca356957101abfcbe38c7f8bfaf221e0103","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.2.2.tgz","fileCount":32,"integrity":"sha512-x45uJ0Pjt7EdKZec+867JPlAhK0f21003x3+Xu5Qr3F5G2CKS2yZKPgmdoOaMLjI5NIg8T4pct6VznWyHiaZlA==","signatures":[{"sig":"MEUCIAJWYuLBD/X25nLC5XJGKnWwG1YavoGlSj9xCm7zPLOJAiEA4VeY7mh8ucqh/d+JY4sBm3b0e3Opx+GWnHOz3g+jqMA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27321},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.2.2_1752491682236_0.36622136427919405","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@cyndie/synthedata","version":"0.2.3","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","_id":"@cyndie/synthedata@0.2.3","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"dist":{"shasum":"493776b01389e3fbce1d7459ca034d17535354e7","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.2.3.tgz","fileCount":32,"integrity":"sha512-gKxJjTpQUF9qCpeVNhbU/Xz8yJdOCLyiDzflPIkmzUUIK9dkrNIz+XDom2yWYDd5tjkJbUF3xs9GaD8lARZNVA==","signatures":[{"sig":"MEUCIQCrkMXhSBO5oFitfxVRM47Boj0QQpkey3phrtdZCJXthgIgCK28Cy4S3vYd0eSRfCxIF9Evz2KIswjRxGIsm/3qM48=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":28233},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","scripts":{"test":"jest","build":"tsc","prepublishOnly":"npm run build"},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"_npmVersion":"10.9.0","description":"An AI-powered library to generate realistic fake data using Zod schemas.","directories":{},"_nodeVersion":"23.2.0","dependencies":{"fs":"^0.0.1-security","zod":"^3.23.8","p-limit":"^6.2.0","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","@types/json2csv":"^5.0.7","@google/generative-ai":"^0.14.1"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","ts-jest":"^29.4.0","@types/bun":"latest","typescript":"^5.5.3","@types/jest":"^30.0.0","@types/node":"^20.14.9"},"_npmOperationalInternal":{"tmp":"tmp/synthedata_0.2.3_1752492045777_0.7725000931815886","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@cyndie/synthedata","version":"0.2.4","description":"An AI-powered library to generate realistic fake data using Zod schemas.","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"build":"tsc","prepublishOnly":"npm run build","test":"jest"},"keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"author":{"name":"Your Name"},"license":"ISC","dependencies":{"@google/generative-ai":"^0.14.1","@types/json2csv":"^5.0.7","fs":"^0.0.1-security","groq-sdk":"^0.27.0","json2csv":"^6.0.0-alpha.2","p-limit":"^6.2.0","zod":"^3.23.8"},"devDependencies":{"@types/bun":"latest","@types/jest":"^30.0.0","@types/node":"^20.14.9","jest":"^29.7.0","ts-jest":"^29.4.0","typescript":"^5.5.3"},"_id":"@cyndie/synthedata@0.2.4","gitHead":"9ed325d1e5a77dff800ea1dfc1e04e7f14bcbdb0","_nodeVersion":"23.2.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-IXxsJyHAhhpcpsQnmKycPXIhv3k1/G8pawN3vUYnTJ/4rb2LS7cE8UXOtGXwqZrgUOqHmwmedLpOuTdPq9jlpg==","shasum":"05a13a70252edf3b9528662dced2dab0f28ae83c","tarball":"https://registry.npmjs.org/@cyndie/synthedata/-/synthedata-0.2.4.tgz","fileCount":32,"unpackedSize":28115,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCBd0cBNuuS5ok1o6ih0uzgTJz9CBOMy4VYqctJ2TpNdAIhAMzeJ2l9Vo2demCrQswr7G0NQt5c5KmsxNBlZcLKBSfI"}]},"_npmUser":{"name":"cyndie","email":"elevenine00@gmail.com"},"directories":{},"maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/synthedata_0.2.4_1752492234129_0.7461070855114458"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-12T16:12:38.204Z","modified":"2025-07-14T11:23:54.480Z","0.1.1":"2025-07-12T16:12:38.482Z","0.1.2":"2025-07-12T16:51:04.081Z","0.1.3":"2025-07-12T16:57:29.583Z","0.1.4":"2025-07-13T06:09:19.988Z","0.1.5":"2025-07-13T06:12:55.920Z","0.1.6":"2025-07-13T06:48:31.557Z","0.1.7":"2025-07-13T06:48:50.067Z","0.1.8":"2025-07-13T07:01:11.090Z","0.2.0":"2025-07-14T11:07:53.715Z","0.2.1":"2025-07-14T11:11:54.312Z","0.2.2":"2025-07-14T11:14:42.410Z","0.2.3":"2025-07-14T11:20:45.989Z","0.2.4":"2025-07-14T11:23:54.300Z"},"author":{"name":"Your Name"},"license":"ISC","keywords":["synthetic","fakedata","ai","typescript","zod","gemini"],"description":"An AI-powered library to generate realistic fake data using Zod schemas.","maintainers":[{"name":"cyndie","email":"elevenine00@gmail.com"}],"readme":"## Cynthedata\n\n[](https://www.google.com/search?q=https://www.npmjs.com/package/%40cyndie/synthedata)\n[](https://opensource.org/licenses/MIT)\n\nA powerful TypeScript library for generating realistic, context-aware fake data for your applications. It leverages the power of Google's Gemini AI and the robustness of Zod schemas to create mock data that respects your data model's types, constraints, and even relationships.\n\n### ✨ Key Features\n\n  - **🤖 AI-Powered:** Uses Google's Gemini Pro to generate realistic and contextually relevant data (e.g., a plausible product name for an e-commerce store).\n  - **🔒 Zod Integration:** Defines data structure and validation using Zod, the standard for modern TypeScript data validation.\n  - **🔗 Relationship-Aware:** Automatically handles basic foreign key relationships between your models.\n  - **✅ Constraint-Aware:** Smartly analyzes your Zod schema to respect constraints like `.min()`, `.max()`, `.email()`, and `.enum()`.\n  - **⚡️ Batch Processing:** Efficiently create any number of data records with a single asynchronous call.\n  - **🧩 Modular & Extensible:** Built with a modular AI provider system, making it easy to adapt to other AI services in the future.\n\n### 📦 Installation\n\nInstall the package using npm or your favorite package manager:\n\n```bash\nnpm i @cyndie/synthedata\n```\n\n\n### 🔑 Setup: Gemini API Key\n\nBefore using the library, you need a Google Gemini API key.\n\n1.  Get your free API key from [Google AI Studio](https://aistudio.google.com/app/apikey).\n\n2.  Set it as an environment variable. The library will automatically detect it.\n\n    **On macOS/Linux:**\n\n    ```bash\n    export GOOGLE_API_KEY=\"YOUR_API_KEY_HERE\"\n    ```\n\n    **On Windows (Command Prompt):**\n\n    ```bash\n    set GOOGLE_API_KEY=\"YOUR_API_KEY_HERE\"\n    ```\n\n    Alternatively, you can pass the key directly to the `GeminiProvider` constructor.\n\n### 🚀 Getting Started\n\nHere's how to generate fake data in just a few steps:\n\n```typescript\nimport { z } from 'zod';\n// Import from the library you installed\nimport { FakedataGenerator, GeminiProvider } from '@cyndie/synthedata';\n\n// 1. Define your data models using Zod schemas\nconst UserSchema = z.object({\n    id: z.number(),\n    fullName: z.string().min(5, \"Full name must be at least 5 characters long\"),\n    email: z.string().email(),\n    role: z.enum(['admin', 'editor', 'viewer'])\n});\n\nconst PostSchema = z.object({\n    id: z.number(),\n    title: z.string().max(60, \"Title cannot exceed 60 characters\"),\n    content: z.string(),\n    // Use .describe() to specify the parent model for foreign key relationships\n    userId: z.number().describe('UserSchema'),\n});\n\n// Define an async function to run the generator\nasync function generateMockData() {\n    try {\n        // 2. Instantiate the generator with an AI provider\n        const generator = new FakedataGenerator(new GeminiProvider());\n\n        // 3. (Optional) Provide a general context to make the data more specific\n        const context = { topic: \"the future of renewable energy\" };\n\n        // 4. Generate data!\n        // First, generate users. The library caches this data for relationship handling.\n        console.log(\"--- Generating Users ---\");\n        const users = await generator.generate(UserSchema, 3, context);\n        console.log(users);\n\n        // Now, generate posts. The `userId` will automatically be populated\n        // with IDs from the users created above.\n        console.log(\"\\n--- Generating Posts ---\");\n        const posts = await generator.generate(PostSchema, 5, context);\n        console.log(posts);\n\n    } catch (error) {\n        console.error(\"An error occurred:\", error);\n    }\n}\n\n// Run the main function\ngenerateMockData();\n```\n\n### 📤 Exporting Generated Data to File (JSON/CSV)\n\nAfter generating your data, you can easily export the sample data to a JSON or CSV file using the `exportDataToFile` method:\n\n```typescript\n// After generating data as shown above\nawait generator.exportDataToFile('User', './output/users.json', 'json'); // Export to JSON file\nawait generator.exportDataToFile('User', './output/users.csv', 'csv');   // Export to CSV file\n```\n\n- The first parameter: the model name (e.g., `'User'`, `'Post'`), which should match the schema's description or default name.\n- The second parameter: the file path where you want to save the data.\n- The third parameter: the file format, either `'json'` or `'csv'`.\n\n**Note:**\n- The output directory must exist before writing the file.\n- Make sure you have installed the `json2csv` package if you want to export to CSV:\n  ```bash\n  npm install json2csv\n  ```\n\n#### Full Example\n\n```typescript\n// ... generate data as shown in the previous example ...\n\n// Export user data to a JSON file\nawait generator.exportDataToFile('User', './output/users.json', 'json');\n\n// Export post data to a CSV file\nawait generator.exportDataToFile('Post', './output/posts.csv', 'csv');\n```\n\n---\n\n### API Reference\n\n#### `FakedataGenerator`\n\nThe main class for generating data.\n\n##### `new FakedataGenerator(provider: AIProvider)`\n\nCreates a new generator instance. It requires an AI provider that conforms to the `AIProvider` interface.\n\n#### `GeminiProvider`\n\nThe default provider for using the Google Gemini API.\n\n#### `GroqProvider`\n\nThe default provider for using the Groq API.\n\n##### `new GeminiProvider(apiKey?: string)`\n\nCreates a new Gemini provider. If `apiKey` is not provided, it falls back to the `GOOGLE_API_KEY` environment variable.\n\n##### `new GroqProvider(apiKey?: string)`\n\nCreates a new Groq provider. If `apiKey` is not provided, it falls back to the `GROQ_API_KEY` environment variable.\n\n##### `generator.generate<T>(schema: T, count: number, context?: object)`\n\nThe core method for generating data.\n\n  - `schema`: A Zod schema (`z.ZodObject`) that defines the structure of the data.\n  - `count`: The number of records to generate.\n  - `context` (optional): An object providing general context to the AI, which helps in generating more relevant data.\n  - **Returns**: A `Promise` that resolves to an array of generated data objects.\n\n### 🤝 Contributing\n\nContributions are welcome\\! If you find a bug or have a feature request, please open an issue. If you'd like to contribute code, please feel free to fork the repository and submit a pull request.\n\n### 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](https://www.google.com/search?q=LICENSE) file for details.\n","readmeFilename":"README.md"}