npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

speed-ai

v0.0.3

Published

AI servisleri test uygulaması

Downloads

22

Readme

🚀 SpeedAI

Version License GitHub

📋 Proje Hakkında

SpeedAI, farklı yapay zeka servislerini tek bir arayüzde test etmenizi ve karşılaştırmanızı sağlayan bir NPM modülüdür. OpenAI, Mistral AI, Anthropic ve Google'ın generatif AI servislerini hızlı ve kolay bir şekilde kullanabilirsiniz.

🧩 Desteklenen AI Servisleri

  • 🔷 OpenAI - GPT modelleri
  • 🔶 Mistral AI - Mistral modelleri
  • 🟣 Anthropic - Claude modelleri
  • 🟢 Google - Generative AI modelleri

🔧 Kurulum

# NPM üzerinden yükleme
npm install speed-ai

# Ya da repoyu klonlama
git clone https://github.com/fastuptime/SpeedAI.git
cd SpeedAI
npm install

⚙️ Yapılandırma

.env dosyasında ya da doğrudan yapılandırma nesnesi aracılığıyla API anahtarlarınızı belirleyin:

OPENAI_API_KEY=your_openai_api_key
MISTRAL_API_KEY=your_mistral_api_key
ANTHROPIC_API_KEY=your_anthropic_api_key
GOOGLE_API_KEY=your_google_api_key

🚀 Kullanım

Modül olarak kullanım

const SpeedAI = require('speed-ai');

// Yapılandırma ile başlatma
const ai = new SpeedAI({
  openai: {
    apiKey: process.env.OPENAI_API_KEY,
  },
  mistral: {
    apiKey: process.env.MISTRAL_API_KEY,
  },
  anthropic: {
    apiKey: process.env.ANTHROPIC_API_KEY,
  },
  google: {
    apiKey: process.env.GOOGLE_API_KEY,
  }
});

// Veya .env dosyasını otomatik yükleyerek basit başlatma
const ai = new SpeedAI();

📋 API Kullanımı

OpenAI Servisi

const { openaiService } = require('./services');

async function testOpenAI() {
  const response = await openaiService.generateText("Merhaba dünya");
  console.log(response);
}

Mistral AI Servisi

const { mistralService } = require('./services');

async function testMistral() {
  const response = await mistralService.generateText("Merhaba dünya");
  console.log(response);
}

Anthropic Servisi

const { anthropicService } = require('./services');

async function testAnthropic() {
  const response = await anthropicService.generateText("Merhaba dünya");
  console.log(response);
}

Google AI Servisi

const { googleService } = require('./services');

async function testGoogle() {
  const response = await googleService.generateText("Merhaba dünya");
  console.log(response);
}

Karşılaştırmalı Kullanım

const SpeedAI = require('speed-ai');
const ai = new SpeedAI();

async function compareModels() {
  const prompt = "Küresel ısınmanın etkileri nelerdir?";
  
  // Tüm servislerden yanıt alma
  const results = await ai.compareAll(prompt);
  console.log(results);
  
  // Ya da belirli servisleri karşılaştırma
  const comparison = await ai.compare(['openai', 'anthropic'], prompt);
  console.log(comparison);
}

📊 Servis Karşılaştırması

| Servis | Hız | Doğruluk | Maliyet | Özellikler | |--------|-----|----------|---------|------------| | OpenAI | ⭐⭐⭐⭐ | ⭐⭐⭐⭐⭐ | $$$$ | Geniş model yelpazesi | | Mistral AI | ⭐⭐⭐⭐⭐ | ⭐⭐⭐⭐ | $$$ | Hızlı yanıt süresi | | Anthropic | ⭐⭐⭐ | ⭐⭐⭐⭐⭐ | $$$$ | Güvenli içerik üretimi | | Google | ⭐⭐⭐⭐ | ⭐⭐⭐⭐ | $$$ | Geniş bilgi tabanı |

📂 Proje Yapısı

speed-ai/
├── services/
│   ├── ai/
│   │   ├── openai.js       # OpenAI entegrasyonu
│   │   ├── mistral.js      # Mistral AI entegrasyonu
│   │   ├── anthropic.js    # Anthropic entegrasyonu
│   │   ├── google.js       # Google AI entegrasyonu
│   │   └── index.js        # Servis birleştirici
│   └── index.js            # Ana servis dışa aktarımı
├── examples/               # Örnek kullanımlar
├── tests/                  # Test dosyaları
├── .env                    # Ortam değişkenleri
├── .env.example            # Örnek ortam değişkenleri
├── package.json            # Proje bağımlılıkları
└── README.md               # Bu dosya

📝 Lisans

Bu proje MIT lisansı altında lisanslanmıştır.

👥 Katkıda Bulunma

  1. Bu repoyu forklayın (https://github.com/fastuptime/SpeedAI)
  2. Özellik dalı oluşturun (git checkout -b yeni-ozellik)
  3. Değişikliklerinizi commit edin (git commit -am 'Yeni özellik eklendi')
  4. Dalınızı push edin (git push origin yeni-ozellik)
  5. Bir Pull Request oluşturun

🧑‍💻 Geliştirici

Fast Uptime


⭐ Bu projeyi beğendiyseniz yıldız vermeyi unutmayın! ⭐