Skip to content

Latest commit

 

History

History
38 lines (27 loc) · 680 Bytes

README.md

File metadata and controls

38 lines (27 loc) · 680 Bytes

Nodestone

Easy to use Node Lodestone parser.

How to use

Inside your own server

Running on Host

yarn install
yarn run express:start

Running on Docker Container

docker build -t nodestone .
docker run -p 8080:8080 nodestone

The server will then listen on port 8080 by default.

Inside Google Cloud Run

gcloud builds submit --tag gcr.io/<your image name> && gcloud beta run deploy --image gcr.io/<your image name>

Inside your Node.JS project

yarn add @xivapi/nodestone
const character = await this.characterParser.parse({ params: { characterId: id } } as any);
console.log(character);