Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 625 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 625 Bytes

Nodestone

Easy to use Node Lodestone parser.

How to use

Inside your own server

yarn
yarn run express:start

The server will then listen on port 8080 by default.

Inside 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);

The Node.JS API will be changed later on so you don't have to provide this mock request.