1.0.5 • Published 6 months ago

fightertunnel v1.0.5

Weekly downloads
-
License
ISC
Repository
-
Last release
6 months ago

Fightertunnel

npm version license build

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.

Features

  • Create Account: Create new accounts for SSH, VMess, VLESS, Trojan, and Shadowsocks.
  • Check Account: Check the status and details of existing accounts.
  • Delete Account: Remove accounts that are no longer needed.
  • Update Account: Update information of existing accounts.

Installation

To install the Fightertunnel module, use the following command:

npm i fightertunnel

Usage

Here is an example of using the FighterTunnel module to create an SSH account:

SSH

const { createSSH } = require('fightertunnel');
createSSH('username', 'password', 'exp', 'limitip', (err, result) => {
    if (err) {
        console.error(err);
    } else {
        console.log(result);
    }
});

VMESS

const { createVMess } = require('fightertunnel');
function createVMessAccount(username, expiry, quota, iplimit) {
    createVMess(username, expiry, quota, iplimit, (err, result) => {
        if (err) {
            console.error('Error occurred:', err);
        } else {
            console.log('VMess account created successfully:', result);
        }
    });
}
createVMessAccount('user123', '1', '1', '1');

Auto Script Link

For more information and auto scripts, visit our GitHub repository: https://github.com/FighterTunnel/tunnel

API

For more information about our API, visit: https://github.com/AutoFTbot/Api/

Contribution

We welcome contributions from anyone. Please make a pull request or open an issue for further discussion.

License

This project is licensed under the MIT License.

1.0.5

6 months ago

1.0.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago