
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
github.com/zakirkun/tomoe
Advanced tools

Tomoe is a lightweight and extensible HTTP client library for Go, designed to simplify making HTTP requests while providing flexibility, speed, and robust error handling. It supports generics for type-safe responses, retries, parallel execution, and dynamic body data formats such as JSON, form-data, and file uploads.
go get github.com/zakirkun/tomoe
package main
import (
"context"
"fmt"
"log"
"time"
"github.com/zakirkun/tomoe"
)
func main() {
client := NewClient("https://jsonplaceholder.typicode.com", 30*time.Second, 3, 5*time.Second, nil)
ctx := context.Background()
// Single request with retries
opts := RequestOptions{
Method: "GET",
Path: "/todos/1",
}
response, err := client.Do(ctx, opts)
if err != nil {
log.Fatalf("Request Error: %v", err.Error())
}
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil {
log.Fatalf("Parse Body Error: %v", err.Error())
}
fmt.Printf("Success: %v", string(body))
}
Contributions are welcome! Please fork the repository and submit a pull request.
Tomoe is licensed under the MIT License. See the LICENSE file for details.
Created by Zakirkun. Inspired by a passion for elegant and efficient code.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.