fightertunnel 1.0.5 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -67
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,73 +1,14 @@
1
- # Fightertunnel
1
+ # API VPN Management
2
2
 
3
- ![npm version](https://img.shields.io/npm/v/fightertunnel)
4
- ![license](https://img.shields.io/npm/l/fightertunnel)
5
- ![build](https://img.shields.io/travis/com/FighterTunnel/tunnel)
3
+ API ini menyediakan endpoint untuk membuat akun VPN seperti SSH, Trojan, VLESS, dan Shadowsocks.
6
4
 
7
- Fightertunnel is a comprehensive module for managing various types of accounts such as SSH, VMess, VLESS, Trojan, and Shadowsocks. This module provides various functions to easily and efficiently create, check, delete, and update these accounts.
5
+ ## Dokumentasi Lengkap
8
6
 
9
- <img src="https://avatars.githubusercontent.com/u/118927603?v=4" alt="Fightertunnel" width="100" height="100" style="border-radius: 50%; box-shadow: 0 0 10px yellow;">
7
+ Dokumentasi lengkap API tersedia di Postman:
8
+ [API VPN Management - Postman Documentation](https://documenter.getpostman.com/view/29104234/2sAYQdi9Wx)
10
9
 
11
- ## Features
10
+ ## Kontribusi & Lisensi
12
11
 
13
- - **Create Account**: Create new accounts for SSH, VMess, VLESS, Trojan, and Shadowsocks.
14
- - **Check Account**: Check the status and details of existing accounts.
15
- - **Delete Account**: Remove accounts that are no longer needed.
16
- - **Update Account**: Update information of existing accounts.
12
+ - **Kontribusi**: Silakan buat pull request atau laporkan masalah.
13
+ - **Lisensi**: MIT.
17
14
 
18
- ## Installation
19
-
20
- To install the Fightertunnel module, use the following command:
21
-
22
- ```bash
23
- npm i fightertunnel
24
- ```
25
-
26
- ## Usage
27
-
28
- Here is an example of using the FighterTunnel module to create an SSH account:
29
-
30
- ### SSH
31
- ```javascript
32
- const { createSSH } = require('fightertunnel');
33
- createSSH('username', 'password', 'exp', 'limitip', (err, result) => {
34
- if (err) {
35
- console.error(err);
36
- } else {
37
- console.log(result);
38
- }
39
- });
40
- ```
41
-
42
- ### VMESS
43
- ```javascript
44
- const { createVMess } = require('fightertunnel');
45
- function createVMessAccount(username, expiry, quota, iplimit) {
46
- createVMess(username, expiry, quota, iplimit, (err, result) => {
47
- if (err) {
48
- console.error('Error occurred:', err);
49
- } else {
50
- console.log('VMess account created successfully:', result);
51
- }
52
- });
53
- }
54
- createVMessAccount('user123', '1', '1', '1');
55
- ```
56
-
57
- ## Auto Script Link
58
-
59
- For more information and auto scripts, visit our GitHub repository:
60
- [https://github.com/FighterTunnel/tunnel](https://github.com/FighterTunnel/tunnel)
61
-
62
- ## API
63
-
64
- For more information about our API, visit:
65
- [https://github.com/AutoFTbot/Api/](https://github.com/AutoFTbot/Api/)
66
-
67
- ## Contribution
68
-
69
- We welcome contributions from anyone. Please make a pull request or open an issue for further discussion.
70
-
71
- ## License
72
-
73
- This project is licensed under the MIT License.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fightertunnel",
3
- "version": "1.0.5",
3
+ "version": "1.1.5",
4
4
  "description": "A module for managing SSH, VMess, VLESS, Trojan, and Shadowsocks accounts",
5
5
  "main": "index.js",
6
6
  "scripts": {