@skygenesisenterprise/enterprise-node
v1.3.0
Published
Enterprise SDK - Le runtime web du SDK universel Enterprise de Sky Genesis Enterprise
Maintainers
Readme
Enterprise SDK
The universal web runtime SDK Enterprise by Sky Genesis Enterprise. A comprehensive, modular SDK for building intelligent enterprise applications with self-referential capabilities.
✨ Features
- 🧩 Modular Architecture - Use only what you need
- 🤖 AI Integration - Built-in artificial intelligence capabilities
- 💾 Storage Management - Advanced file and data storage
- 🎨 UI Components - Beautiful, customizable components
- 🔐 Authentication - Secure user management
- 📋 Project Management - Complete project lifecycle
- 🔄 Self-Reference - Unique auto-referential SDK capabilities
- ⚡ WASM Runtime - High-performance WebAssembly support
- 🎯 Framework Agnostic - Works with React, Svelte, Next.js, and more
🚀 Quick Start
Installation
npm install @skygenesisenterprise/enterprise-node
# or
yarn add @skygenesisenterprise/enterprise-node
# or
pnpm add @skygenesisenterprise/enterprise-nodeBasic Usage
import { EnterpriseSDK } from '@skygenesisenterprise/enterprise-node';
// Create SDK instance
const sdk = new EnterpriseSDK({
modules: {
ai: true,
storage: true,
ui: true,
project: true,
auth: true,
sdk: true, // Enable self-reference
},
branding: {
logo: {
path: './assets/logo.png',
width: 200,
height: 60,
},
companyName: 'Your Company',
primaryColor: '#007acc',
},
});
// Initialize the SDK
await sdk.initialize();
// Use modules
const aiResponse = await sdk.ai.generate('Hello, Enterprise!');
const file = await sdk.storage.save(myFile);
const user = await sdk.auth.login({ email, password });
// Self-reference capabilities
const metaInfo = sdk.sdk.getMetaInfo();
console.log('SDK is self-referencing:', metaInfo.isSelfReferencing);📚 Documentation
- Quick Start Guide - Get up and running in minutes
- API Reference - Complete API documentation
- Module Guide - Detailed module documentation
- Configuration Guide - Configuration options
- Integration Guide - Framework integrations
- Examples - Code examples and tutorials
- Troubleshooting - Common issues and solutions
🧩 Modules
AI Module (@skygenesisenterprise/module-ai)
- Text generation and completion
- Image enhancement and processing
- Data analysis and insights
- Multiple model support
Storage Module (@skygenesisenterprise/module-storage)
- File upload and management
- Cloud storage integration
- Caching and optimization
- Encryption support
UI Module (@skygenesisenterprise/module-ui)
- Reusable components
- Theme system
- Branding support
- Notification system
Project Module (@skygenesisenterprise/module-project)
- Project creation and management
- Task tracking
- Team collaboration
- Resource allocation
Auth Module (@skygenesisenterprise/module-auth)
- User authentication
- Role-based access control
- OAuth integration
- Session management
SDK Module (@skygenesisenterprise/module-sdk)
- Self-referential capabilities
- Meta-programming
- SDK introspection
- Hierarchical instances
🎯 Framework Integrations
React
import { EnterpriseProvider, useAi, useAuth } from '@skygenesisenterprise/react';
function App() {
return (
<EnterpriseProvider config={config}>
<MyComponent />
</EnterpriseProvider>
);
}
function MyComponent() {
const { generate } = useAi();
const { user, login } = useAuth();
// ...
}Svelte
import { enterpriseStore, useAi } from '@skygenesisenterprise/svelte';
import { onMount } from 'svelte';
onMount(() => {
enterpriseStore.initialize();
});
const { generate } = useAi();Next.js
import { EnterpriseSDK } from '@skygenesisenterprise/enterprise-node';
// pages/_app.tsx
export default function App({ Component, pageProps }) {
return (
<EnterpriseProvider config={config}>
<Component {...pageProps} />
</EnterpriseProvider>
);
}⚙️ Configuration
Create an enterprise.config.ts file in your project root:
import { EnterpriseConfig } from '@skygenesisenterprise/enterprise-node';
const config: EnterpriseConfig = {
modules: {
ai: true,
storage: true,
ui: true,
project: true,
auth: true,
sdk: true,
},
runtime: {
wasmPath: '/wasm/euse_core.wasm',
enableWasm: true,
maxMemoryMB: 512,
},
framework: 'auto', // 'react' | 'svelte' | 'nextjs' | 'auto'
debug: process.env.NODE_ENV === 'development',
branding: {
logo: {
path: './assets/logo.png',
width: 200,
height: 60,
alt: 'Company Logo',
},
companyName: 'Your Company',
primaryColor: '#007acc',
secondaryColor: '#004466',
theme: 'auto',
},
};
export default config;🏗️ Architecture
Enterprise SDK
├── Core Runtime
│ ├── Module Loader
│ ├── WASM Runtime
│ └── Configuration
├── Modules
│ ├── AI (text generation, image processing)
│ ├── Storage (file management, cloud sync)
│ ├── UI (components, theming)
│ ├── Project (management, collaboration)
│ ├── Auth (users, security)
│ └── SDK (self-reference, meta-programming)
├── Framework Integrations
│ ├── React (hooks, components)
│ ├── Svelte (stores, components)
│ └── Next.js (pages, middleware)
└── Development Tools
├── CLI (project management)
└── ESLint Config (code quality)🧪 Development
Prerequisites
- Node.js 18+
- pnpm 8+
Setup
# Clone the repository
git clone https://github.com/skygenesisenterprise/enterprise-node.git
cd enterprise
# Install dependencies
pnpm install
# Build all packages
pnpm build
# Run tests
pnpm test
# Start development mode
pnpm devScripts
pnpm build- Build all packagespnpm test- Run all testspnpm test --filter=@skygenesisenterprise/core- Run specific package testspnpm typecheck- Type check all packagespnpm lint- Lint all packagespnpm dev- Development mode with watch
🤝 Contributing
We welcome contributions! Please see our Contributing Guide for details.
Development Workflow
- Fork the project
- Create a feature branch
- Make your changes
- Add tests if applicable
- Run the test suite
- Submit a pull request
📄 License
MIT © Sky Genesis Enterprise
🔗 Links
🌟 Star History
Enterprise SDK - The universal web runtime for intelligent applications. 🚀
