Skip to content

ODGodinho/ODGTls

Repository files navigation

Stanley Imagem
TLS Requester class for fingerprint

Using @odg/axios to request 📦!

codecov Stargazers Made by ODGodinho Forks Repository size GitHub last commit License StyleCI

Table of Contents


🎇 Benefits

  • 🚀 Speed performance Inversion of control
  • 🚨 Code Quality
  • 🎇 Use Interface
  • 🧪 Teste with 100% coverage

📗 Libraries

📁 Dependencies

⏩ Get Started

🚩 You can use https://github.com/Carcraftz/TLS-Fingerprint-API and its forks to have an easy TLS server


🔘 Installation

yarn add @odg/tls

💻 Usage

For simple example usage, you can use Inversify for Dependency Injection

const tlsMessage = new TlsMessage({
  tls: {
    url: "http://localhost:8082",
  }
});

await tlsMessage.request({
    url: "https://tls.browserleaks.com/json",
});

📍 Start Project

First install dependencies with the following command

yarn install
# or
npm install

📨 Build and Run

To build the project, you can use the following command

if you change files, you need to run yarn build and yarn start again

yarn build && yarn start
# or
yarn dev

🧪 Teste Code

To Test execute this command

yarn test
# or
yarn test:watch