{"_id":"0x1-templates","name":"0x1-templates","dist-tags":{"latest":"0.0.193"},"versions":{"0.0.193":{"name":"0x1-templates","version":"0.0.193","description":"Official templates for the 0x1 framework","main":"dist/index.js","type":"module","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"},"./minimal":"./minimal","./standard":"./standard","./full":"./full","./crypto-dash":"./crypto-dash","./licenses":"./licenses"},"scripts":{"build":"mkdir -p dist && bun build src/index.ts --outfile dist/index.js --target node --format esm && bun build src/index.ts --outfile dist/index.cjs --target node --format cjs","dev":"bun --watch src/index.ts","test":"bun test"},"keywords":["0x1","templates","typescript","framework","web"],"author":{"name":"0x1 Team"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/Triex/0x1.git","directory":"0x1-templates"},"peerDependencies":{"0x1":"^0.0.193"},"comments":{"lastVersion":"0.0.192","note":"This package contains templates for the 0x1 framework/CLI.","templateStatus":{"crypto-dash":"Template exists but not yet set up or stable - not ready for release"}},"_id":"0x1-templates@0.0.193","gitHead":"85dacd2d5f860b5f1646207016d8b4f82bcd0a5a","bugs":{"url":"https://github.com/Triex/0x1/issues"},"homepage":"https://github.com/Triex/0x1#readme","_nodeVersion":"23.9.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-/hyX6Dh9saE570OOLF9S6ZaicR/8IftUMNhVp9x+VAe03j8c4lMiAl+w1Zf6jE1qinDZRnnLafR0jVZ4X6ur/A==","shasum":"11ce98542c82662480c1e50657e5e48164094963","tarball":"https://registry.npmjs.org/0x1-templates/-/0x1-templates-0.0.193.tgz","fileCount":109,"unpackedSize":652301,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGfuX5QCIGB2lZRnPcG4/JNOJ8cgkJvc99oILiuhxbgtAiAhP70024zaSgX53h0KEudnwIK2XBwfKQa/HjpzmswzKg=="}]},"_npmUser":{"name":"triex","email":"hi@triex.dev"},"directories":{},"maintainers":[{"name":"triex","email":"hi@triex.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/0x1-templates_0.0.193_1748892145777_0.8993021574719613"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-02T19:22:25.776Z","0.0.193":"2025-06-02T19:22:25.971Z","modified":"2025-06-02T19:22:26.256Z"},"maintainers":[{"name":"triex","email":"hi@triex.dev"}],"description":"Official templates for the 0x1 framework","homepage":"https://github.com/Triex/0x1#readme","keywords":["0x1","templates","typescript","framework","web"],"repository":{"type":"git","url":"git+https://github.com/Triex/0x1.git","directory":"0x1-templates"},"author":{"name":"0x1 Team"},"bugs":{"url":"https://github.com/Triex/0x1/issues"},"license":"MIT","readme":"# 0x1 Templates\n\nOfficial templates for the [0x1 framework](https://github.com/Triex/0x1) - the ultra-minimal TypeScript⚡️Bun framework.\n\n## 🚀 Quick Start\n\nInstall the templates package:\n\n```bash\nbun add 0x1-templates\n```\n\nUse with the 0x1 CLI:\n\n```bash\n0x1 new my-app --template full\n0x1 new crypto-app --template crypto-dash\n```\n\n## 📦 Available Templates\n\n### Bundled with CLI (Lightweight)\n- **minimal** (~500KB) - Basic setup with minimal dependencies\n- **standard** (~50MB) - Common libraries and project structure ⭐ *Recommended*\n\n### Requires 0x1-templates Package (Feature-Rich)\n- **full** (~180MB) - Complete setup with all recommended features\n- **crypto-dash** (~650MB) - Crypto wallet and DeFi dashboard\n\n## 🎯 Template Features\n\n| Template | TypeScript | Tailwind | PWA | State Mgmt | DeFi | Size |\n|----------|------------|----------|-----|------------|------|------|\n| minimal | ✅ | ❌ | ❌ | ❌ | ❌ | ~500KB |\n| standard | ✅ | ✅ | ✅ | ✅ | ❌ | ~50MB |\n| full | ✅ | ✅ | ✅ | ✅ | ❌ | ~180MB |\n| crypto-dash | ✅ | ✅ | ✅ | ✅ | ✅ | ~650MB |\n\n## 💡 Usage\n\n### Direct Import (Advanced)\n\n```typescript\nimport { getTemplatePath, templateExists } from '0x1-templates';\n\n// Check if template exists\nif (templateExists('full')) {\n  const templatePath = getTemplatePath('full');\n  console.log(`Template located at: ${templatePath}`);\n}\n```\n\n### Template Metadata\n\n```typescript\nimport { templateMetadata, getTemplateMetadata } from '0x1-templates';\n\n// Get all template info\nconsole.log(templateMetadata);\n\n// Get specific template info\nconst fullTemplate = getTemplateMetadata('full');\nconsole.log(fullTemplate?.features); // ['TypeScript', 'Tailwind CSS', ...]\n```\n\n## 🏗️ Architecture\n\nThe templates package follows the same modular approach as other 0x1 packages:\n\n```\n0x1-templates/\n├── minimal/          # Minimal template files\n├── standard/         # Standard template files  \n├── full/             # Full-featured template files\n├── crypto-dash/      # Crypto dashboard template files\n├── licenses/         # License templates (MIT, TDL, etc.)\n└── src/              # Template utilities and metadata\n```\n\n## 🔄 Development\n\nBuilding the package:\n\n```bash\ncd 0x1-templates\nbun run build\n```\n\n## 📄 License\n\nMIT License - see [LICENSE](../LICENSE) for details.\n\n## 🤝 Contributing\n\nPlease see the main [0x1 repository](https://github.com/Triex/0x1) for contribution guidelines.\n\n---\n\nPart of the 0x1 framework ecosystem:\n- [0x1](https://github.com/Triex/0x1) - Core framework\n- [0x1-router](../0x1-router) - Client-side routing\n- [0x1-store](../0x1-store) - State management\n- **0x1-templates** - Project templates\n","readmeFilename":"README.md","_rev":"1-f8a93499c3fe8bf13b9219665355daf5"}