0.2.9 • Published 2 years ago

@seanlatimer/nodestone v0.2.9

Weekly downloads
-
License
MIT
Repository
-
Last release
2 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.