{"_id":"@dream.mf/ai-docgen","_rev":"4-1c2b459ae63d6bde93d1ee168b534e81","name":"@dream.mf/ai-docgen","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@dream.mf/ai-docgen","version":"0.0.1","_id":"@dream.mf/ai-docgen@0.0.1","maintainers":[{"name":"cfryerdev","email":"cfryerdev@gmail.com"},{"name":"reidonly","email":"reid.braswell@outlook.com"}],"dist":{"shasum":"91b573eda0d6a35de8af77963c5eacceda9edcc0","tarball":"https://registry.npmjs.org/@dream.mf/ai-docgen/-/ai-docgen-0.0.1.tgz","fileCount":22,"integrity":"sha512-lDIG0Oohak4pX1gUfGFvIuN2Zh92iFBLnFpAEKYdhgamDykTRfP9zcZPd9Y3EwJOxsmjSZEyiKefEUYA8b39LA==","signatures":[{"sig":"MEQCIEmZNZlOqvgahq+k1fkg7Azis7ZcOZE0Rdv2RAKytD95AiAC/2PKAc9FGC8oPuKxpH1QVd01rDCEPjPL8eUI8yc9Qg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2195930},"main":"./index.js","types":"./index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./rspack":{"types":"./dist/rspack.d.ts","import":"./dist/rspack.mjs","require":"./dist/rspack.cjs"}},"gitHead":"08e7b12734e82961d193c8f3d035f4a09194421f","_npmUser":{"name":"cfryerdev","email":"cfryerdev@gmail.com"},"_npmVersion":"10.5.0","description":"Modern Frontend Libraries for use with Microfrontends and other javascript technologies.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"chalk":"5.4.1","fs-extra":"11.2.0","unplugin":"1.16.1","langchain":"0.3.10","@langchain/core":"0.3.27","@langchain/ollama":"0.1.4","@langchain/openai":"0.3.16","@langchain/anthropic":"0.3.11","@langchain/community":"0.3.22"},"_hasShrinkwrap":false,"devDependencies":{"@types/fs-extra":"11.0.4","@module-federation/sdk":"^0.8.8","vite-plugin-node-polyfills":"0.22.0"},"peerDependencies":{"@module-federation/sdk":"^0.8.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-docgen_0.0.1_1736443687155_0.8229470187912635","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@dream.mf/ai-docgen","version":"0.0.2","_id":"@dream.mf/ai-docgen@0.0.2","maintainers":[{"name":"cfryerdev","email":"cfryerdev@gmail.com"},{"name":"reidonly","email":"reid.braswell@outlook.com"}],"dist":{"shasum":"75bf38a0138f01ea09921c79e92fb6417e2a4ebc","tarball":"https://registry.npmjs.org/@dream.mf/ai-docgen/-/ai-docgen-0.0.2.tgz","fileCount":22,"integrity":"sha512-4ZRwONxYyKROq+kTpGYqj42u5Gveoh5odvEvXFAYYWZEG+zWnC46/3Rj4SJbChMOfev0b0aWnjvgx10K8qJDBA==","signatures":[{"sig":"MEUCIFG702SNmwo6n5k3gG1vXpTiCNiJmLG8cFuE1S8AFQHQAiEAmBtmn73xXC/LhUOLpB2028SNTeMDkJ1/CXD8qGjwOtc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2201396},"main":"./index.js","types":"./index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./rspack":{"types":"./dist/rspack.d.ts","import":"./dist/rspack.mjs","require":"./dist/rspack.cjs"}},"gitHead":"c522930efdbd91c00933c87228c3ff76c59c9a4a","_npmUser":{"name":"cfryerdev","email":"cfryerdev@gmail.com"},"_npmVersion":"10.5.0","description":"Modern Frontend Libraries for use with Microfrontends and other javascript technologies.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"chalk":"5.4.1","fs-extra":"11.2.0","unplugin":"1.16.1","langchain":"0.3.10","@langchain/core":"0.3.27","@langchain/ollama":"0.1.4","@langchain/openai":"0.3.16","@langchain/anthropic":"0.3.11","@langchain/community":"0.3.22"},"_hasShrinkwrap":false,"devDependencies":{"@types/fs-extra":"11.0.4","@module-federation/sdk":"^0.8.8","vite-plugin-node-polyfills":"0.22.0"},"peerDependencies":{"@module-federation/sdk":"^0.8.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-docgen_0.0.2_1736450252015_0.5394058203557193","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@dream.mf/ai-docgen","version":"0.0.3","_id":"@dream.mf/ai-docgen@0.0.3","maintainers":[{"name":"cfryerdev","email":"cfryerdev@gmail.com"},{"name":"reidonly","email":"reid.braswell@outlook.com"}],"dist":{"shasum":"a212ca7b6d6428d556bf9785ea1140250c9d5908","tarball":"https://registry.npmjs.org/@dream.mf/ai-docgen/-/ai-docgen-0.0.3.tgz","fileCount":22,"integrity":"sha512-UE/dv2gp8Jb2eAe3kmI4o2XGYtyLwMuAO3T47wS/5Zl/JTdp0iQjmW558rheT6gmPtpZncfBEv5ohRrpmzWuZQ==","signatures":[{"sig":"MEUCIQC6a6RSXK8PCLOSc8bxSEGWTTJaFKIWnoLmJthi6HjQVgIgY2cqlCQODhsawuRuJkBdymKiLce3smOTRs/New/Kcec=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2202352},"main":"./index.js","types":"./index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./rspack":{"types":"./dist/rspack.d.ts","import":"./dist/rspack.mjs","require":"./dist/rspack.cjs"}},"gitHead":"360bddb96ce0911315968f82e677de503340fd04","_npmUser":{"name":"cfryerdev","email":"cfryerdev@gmail.com"},"_npmVersion":"10.5.0","description":"Modern Frontend Libraries for use with Microfrontends and other javascript technologies.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"chalk":"5.4.1","fs-extra":"11.2.0","unplugin":"1.16.1","langchain":"0.3.10","@langchain/core":"0.3.27","@langchain/ollama":"0.1.4","@langchain/openai":"0.3.16","@langchain/anthropic":"0.3.11","@langchain/community":"0.3.22"},"_hasShrinkwrap":false,"devDependencies":{"@types/fs-extra":"11.0.4","@module-federation/sdk":"^0.8.8","vite-plugin-node-polyfills":"0.22.0"},"peerDependencies":{"@module-federation/sdk":"^0.8.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-docgen_0.0.3_1736450903195_0.9413965946236571","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@dream.mf/ai-docgen","version":"0.0.4","_id":"@dream.mf/ai-docgen@0.0.4","maintainers":[{"name":"cfryerdev","email":"cfryerdev@gmail.com"},{"name":"reidonly","email":"reid.braswell@outlook.com"}],"dist":{"shasum":"50e117c752e2ef12cc11a2938fae3435d6a471a6","tarball":"https://registry.npmjs.org/@dream.mf/ai-docgen/-/ai-docgen-0.0.4.tgz","fileCount":22,"integrity":"sha512-8yGMUJwUKTFFh7MTl/UXmZVd0mzv4tk3nxU4JlpFOLdnkyRRObcE+GdWFUI1pPI/V/I4HjnAEaNTtAHuiA89Ug==","signatures":[{"sig":"MEYCIQDgqk91tp1FWL2fded1YzzBN54Vgr83DMk786kvHO4oCwIhAMvtk6z6VY1URSCU7wVJZaFZbDQSQFllNyz5P9qW5sXW","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":2202352},"main":"./index.js","types":"./index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.cjs"},"./rspack":{"types":"./dist/rspack.d.ts","import":"./dist/rspack.mjs","require":"./dist/rspack.cjs"}},"gitHead":"9faf11feb9e3221bb7829d7ba9be6f8eb291c655","_npmUser":{"name":"cfryerdev","email":"cfryerdev@gmail.com"},"_npmVersion":"10.5.0","description":"Modern Frontend Libraries for use with Microfrontends and other javascript technologies.","directories":{},"_nodeVersion":"21.7.3","dependencies":{"chalk":"5.4.1","fs-extra":"11.2.0","unplugin":"1.16.1","langchain":"0.3.10","@langchain/core":"0.3.27","@langchain/ollama":"0.1.4","@langchain/openai":"0.3.16","@langchain/anthropic":"0.3.11","@langchain/community":"0.3.22"},"_hasShrinkwrap":false,"devDependencies":{"@types/fs-extra":"11.0.4","@module-federation/sdk":"^0.8.8","vite-plugin-node-polyfills":"0.22.0"},"peerDependencies":{"@module-federation/sdk":"^0.8.8"},"_npmOperationalInternal":{"tmp":"tmp/ai-docgen_0.0.4_1736548599229_0.9952886149828464","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@dream.mf/ai-docgen","version":"0.0.5","main":"./index.js","types":"./index.d.ts","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs","types":"./dist/index.d.ts"},"./rspack":{"import":"./dist/rspack.mjs","require":"./dist/rspack.cjs","types":"./dist/rspack.d.ts"}},"dependencies":{"langchain":"0.3.10","@langchain/community":"0.3.22","@langchain/core":"0.3.27","@langchain/openai":"0.3.16","@langchain/anthropic":"0.3.11","@langchain/ollama":"0.1.4","unplugin":"1.16.1","fs-extra":"11.2.0","chalk":"5.4.1"},"devDependencies":{"@module-federation/sdk":"^0.8.8","vite-plugin-node-polyfills":"0.22.0","@types/fs-extra":"11.0.4"},"peerDependencies":{"@module-federation/sdk":"^0.8.8"},"description":"Modern Frontend Libraries for use with Microfrontends and other javascript technologies.","_id":"@dream.mf/ai-docgen@0.0.5","_integrity":"sha512-9RqdJUrWXoe0A3VG02OZn151VH41E6bkA13NLEqzloN3j3Xe6kRXA2npKYdegiYGnXhP/2mUJxToinJAEWqmcQ==","_resolved":"/tmp/0eb9ba5bde9ae6ff107c8c89adaa3798/dream.mf-ai-docgen-0.0.5.tgz","_from":"file:dream.mf-ai-docgen-0.0.5.tgz","_nodeVersion":"21.7.3","_npmVersion":"10.5.0","dist":{"integrity":"sha512-9RqdJUrWXoe0A3VG02OZn151VH41E6bkA13NLEqzloN3j3Xe6kRXA2npKYdegiYGnXhP/2mUJxToinJAEWqmcQ==","shasum":"dccf4ef4de6b5ee9266a5a811954941aaa2893b5","tarball":"https://registry.npmjs.org/@dream.mf/ai-docgen/-/ai-docgen-0.0.5.tgz","fileCount":23,"unpackedSize":2220350,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHAbN7d8B1dIR64FOwQV0IbmX3KSwcYWq/iQcLq7+T3sAiBSDhQ9UDe8zrjAf/nTOZjR7Q+GI/QQ1vfOJ87Sl8RaSw=="}]},"_npmUser":{"name":"cfryerdev","email":"cfryerdev@gmail.com"},"directories":{},"maintainers":[{"name":"cfryerdev","email":"cfryerdev@gmail.com"},{"name":"reidonly","email":"reid.braswell@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ai-docgen_0.0.5_1736560702286_0.7598536688316224"},"_hasShrinkwrap":false}},"time":{"created":"2025-01-09T17:28:07.057Z","modified":"2025-01-11T01:58:23.087Z","0.0.1":"2025-01-09T17:28:07.422Z","0.0.2":"2025-01-09T19:17:32.258Z","0.0.3":"2025-01-09T19:28:23.504Z","0.0.4":"2025-01-10T22:36:39.565Z","0.0.5":"2025-01-11T01:58:22.536Z"},"description":"Modern Frontend Libraries for use with Microfrontends and other javascript technologies.","maintainers":[{"name":"cfryerdev","email":"cfryerdev@gmail.com"},{"name":"reidonly","email":"reid.braswell@outlook.com"}],"readme":"# Dream.mf Framework\n\nModern Frontend Libraries for use with Microfrontends and other javascript technologies.\n\n## Dream.mf AI Docgen\n\nThis is the AI Docgen package for the Dream.mf framework. This package contains a plugin for Rspack, and other bundlers in the future. The plugin will use generative AI to create an integration guide using markdown, for your exposed modules in Module Federation as part of your build output.\nThis feature can aid teams in remote discovery and understanding how to integrate your web module(s).\n\n```typescript\nimport { aiDocgenPlugin } from '@dreammf/ai-docgen/rspack'\n\nconfig.plugins?.push(aiDocgenPlugin({\n    moduleFederationConfig,\n}));\n```\n\nThe __aiConfig__ object that is part of the plugin's options, allows you to configure the AI provider and its settings for generating documentation. It supports multiple providers like OpenAI and Anthropic, with configurable options such as:\n\n- `provider`: Specifies the AI service ('openai' or 'anthropic')\n- `apiKey`: Authentication key for the AI service\n- `model`: Optional model selection (defaults provided for each service)\n- `temperature`: Controls the creativity/randomness of generated content (default 0.4)\n\nThese settings enable flexible AI-powered documentation generation with different providers and customization levels.\n\n**Example**\n\n```typescript\nimport { AIProviders } from '@dreammf/ai-docgen';\n\n//OpenAI\naiDocgenPlugin({\n    mfConfig,\n    aiConfig: {\n    provider: AIProviders.OPENAI,\n    apiKey: process.env.OPENAI_API_KEY, //Or provide it explicitly\n    model: 'gpt-4o', // Optional, defaults to gpt-4o\n    temperature: 0.4 // Optional, defaults to 0.4\n    }\n})\n\n//Anthropic\naiDocgenPlugin({\n    mfConfig,\n    aiConfig: {\n    provider: AIProviders.ANTHROPIC,\n    apiKey: process.env.ANTHROPIC_API_KEY, //Or provide it explicitly\n    model: 'claude-3-5-haiku-latest', // Optional, defaults to claude-3-5-haiku-latest\n    temperature: 0.4 // Optional, defaults to 0.4\n    }\n})\n```","readmeFilename":"README.md"}