/example/
contains the sample project using the SDK./lib/
contains the core project.
- Use
eslint
&prettier
for linting and auto-formatting. - Used
husky
&lint-staged
to lint only staged changes automatically on git commit. - Used
typescript
to avoid future bugs. index.ts
serve as the root of the SDK.lib/lotr.ts
is the main client of the SDK.lib/baseAPI.ts
is the abstract controller for all the SDK endpoints to avoid duplication of code/lib/httpClient.ts
is the HTTP wrapper for the project