Skip to content

Commit ec13b2e

Browse files
committed
feature: api-typescript-sdk update
1 parent c88c4e9 commit ec13b2e

9 files changed

Lines changed: 346 additions & 52 deletions

File tree

README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## hostinger-api@0.0.6
2+
3+
For more information, please visit [https://developers.hostinger.com](https://developers.hostinger.com).
4+
5+
## Requirements.
6+
7+
* Node.js
8+
* Webpack
9+
* Browserify
10+
Language level
11+
* ES5 - you must have a Promises/A+ library installed
12+
* ES6
13+
14+
Module system
15+
* CommonJS
16+
* ES6 module system
17+
18+
It can be used in both TypeScript and JavaScript. In TypeScript, the definition will be automatically resolved via `package.json`. ([Reference](https://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html))
19+
20+
### Building
21+
22+
To build and compile the typescript sources to javascript use:
23+
```
24+
npm install
25+
npm run build
26+
```
27+
28+
### Publishing
29+
30+
First build the package then run `npm publish`
31+
32+
### Consuming
33+
34+
navigate to the folder of your consuming project and run one of the following commands.
35+
36+
### Usage
37+
38+
```
39+
npm install hostinger-api@0.0.6 --save
40+
```
41+

0 commit comments

Comments
 (0)