@nekazari/sdk
v1.1.4
Published
**Nekazari Platform SDK** - Official SDK for building Nekazari Platform modules.
Downloads
1,856
Readme
@nekazari/sdk
Nekazari Platform SDK - Official SDK for building Nekazari Platform modules.
License
Apache-2.0 - See LICENSE file.
This SDK is licensed under Apache-2.0 to enable developers to build proprietary/commercial modules. The core Nekazari Platform remains under AGPL-3.0.
Installation
npm install @nekazari/sdkUsage
import { NKZClient, useAuth, useTranslation } from '@nekazari/sdk';
// API Client
const client = new NKZClient({
baseUrl: '/api',
getToken: () => token,
getTenantId: () => tenantId,
});
// Authentication
const { user, token, tenantId } = useAuth();
// Internationalization
const { t } = useTranslation('common');Documentation
See the External Developer Guide for complete documentation.
License Note
This package is licensed under Apache-2.0, separate from the core NKZ Platform (AGPL-3.0). This explicitly means that:
- ✅ Third-party modules built with this SDK can use any license (proprietary, commercial, closed-source, open-source, etc.).
- ✅ You can build proprietary/commercial modules.
- ✅ You can distribute modules under any license.
- ✅ You can monetize your modules.
Your modules are considered separate works when using only the public SDK APIs and communicate with the platform via standard APIs. They do not become derived works of the AGPL-3.0 platform.
Copyright 2025 NKZ Platform (Nekazari)
