This repository has been archived by the owner on Dec 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from UnofficialDathost/Development
0.0.2
- Loading branch information
Showing
76 changed files
with
24,539 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,5 @@ jobs: | |
npm run test | ||
- name: Build with esbuild | ||
run: npm run build | ||
- name: Build docs | ||
run: npm run docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
## Welcome to the Unofficial Dathost JS/TS wrapper Documentation | ||
|
||
### Starting point | ||
|
||
Look over the index documentation. | ||
|
||
### Example | ||
|
||
```ts | ||
import Dathost from 'dathost' | ||
|
||
const dathost = new Dathost('email', 'password') | ||
|
||
// Get account | ||
const account = await dathost.account() | ||
console.log(account.id, account.email, account.credits) | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,26 @@ | ||
# TypeScript | ||
TypeScript wrapper for Dathost's API | ||
## Welcome to Dathost's unofficial ts/js wrapper! | ||
|
||
This is a unofficial asynchronous wrapper for Dathost's API. | ||
|
||
### Features: | ||
|
||
* Full API coverage. | ||
* Easy to use with an object oriented design. | ||
* 100% test coverage. | ||
* Modern Typescript | ||
|
||
### Install | ||
|
||
- npm: `npm install dathost` | ||
- browser: [Releases](https://github.com/UnofficialDathost/TypeScript/releases) | ||
|
||
### Documentation | ||
|
||
[Documentation](http://dathost.wardpearce.com/ts/docs) | ||
|
||
### Commands | ||
|
||
- `npm run test` - Run unit tests | ||
- `npm run lint` - Lints code | ||
- `npm run build` - Builds code to javascript | ||
- `npm run docs` - Builds docs |
Oops, something went wrong.