@optellix/xviewr-sdk
v1.0.7
Published
XViewr 3D Viewer SDK - Modular plugin-based 3D viewer
Downloads
25
Maintainers
Readme
XViewr SDK
A powerful, modular 3D viewer SDK built on Three.js
Installation
npm install @optellix/xviewr-sdk threeQuick Start
import { ViewerCore } from "@optellix/xviewr-sdk";
const viewer = new ViewerCore({
container: document.getElementById("viewer"),
});License
MIT
## **Step 3: Create/Check LICENSE file**
Create `LICENSE` file (MIT License example):MIT License
Copyright (c) 2025 Optellix
Permission is hereby granted, free of charge, to any person obtaining a copy...
## **Step 4: Create .npmignore**
Create `.npmignore` file:Source files
src/ examples/ tests/ _.test.ts _.spec.ts
Build configs
vite.config.ts tsconfig.json .eslintrc .prettierrc
Dev files
node_modules/ .git/ .github/ .vscode/ *.log .DS_Store
