@tormak/tor-model-locator
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

npm (scoped) npm

Tor Model Locator

This tool is intended to be used to parse output from the various tools I have designed for TORCommunity.com. It copies the textures and models into a predictable file structure for ease of use.

Install

Using npm:

npm install @tormak/tor-model-locator

Usage

Note: These examples use typescript files (.ts) but can still be implimented the same way for javascript files (.js).

import { locate } from '@tormak/tor-model-locator';

const dataFolder = "path to data folder";

const extractFolder = "path to a SWTOR asset extraction";

const success = locate(dataFolder, extractFolder);

if (success) console.log("Location complete!");

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i @tormak/tor-model-locator

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    19.8 kB

    Total Files

    8

    Last publish

    Collaborators

    • tormak