light-and-ao-mapnode
v1.0.9
Published
A package for light and AO map functionality
Downloads
13
Readme
light-and-ao-mapnode
A package for light and AO map functionality
Installation
npm install light-and-ao-mapnodeUsage
Frontend
import { LightAndAoMap } from 'light-and-ao-mapnode';
// Usage example
const lightMap = new LightAndAoMap();
lightMap.init();Backend
This package includes server-side code that is published to npm but not installed by default. To use the server-side code, you need to download it separately.
Option 1: Download the server files
You can download the server files from the GitHub repository:
- Go to the GitHub repository: https://github.com/355117/light-and-ao-mapNode
- Navigate to the
nodeBuild/distdirectory - Download the files you need (server.js, package.json, package-lock.json, start-server.bat)
Or clone the entire repository:
git clone https://github.com/355117/light-and-ao-mapNode
cd light-and-ao-mapnode/nodeBuild/distOption 2: Use the server files directly
If you have access to the original package source, you can find the server files in the nodeBuild/dist directory.
cd nodeBuild/dist
npm install
npm startLicense
MIT
