0.1.0 • Published 3 years ago

@the-convocation/nodestone v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

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.