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

vcomjs

v1.3.7

Published

Vericom AppJs

Downloads

45

Readme

VCom UI Utilities

VCom UI Utilities; jQuery tabanlı, kullanıcı arayüzünü kolayca yönetebilmenizi sağlayan bir yardımcı fonksiyonlar setidir. Croppie, Toastify, SweetAlert ve BlockUI gibi 3rd-party kütüphanelerle entegre çalışır. Projede; form temizleme, AJAX işlemleri, toast bildirimleri, modal yönetimi ve görsel kırpma gibi birçok işlevsellik bulunmaktadır.

📦 Kurulum

npm install vcomjs

Ya da statik dosyalarla çalışıyorsanız gerekli script ve link etiketlerini HTML dosyanıza ekleyebilirsiniz.

📦 Kullanılan Kütüphaneler

🚀 Genel Fonksiyonlar

🧊 1. Block UI

BlockStart();  // Yükleme başlatılır
BlockStop();   // Yükleme durdurulur

🔔 2. Toast Bildirimleri

ToastOpen("bg-success", "İşlem başarılı", "Başlık");
AddNotif("Uyarı mesajı");

🧼 3. Form Yardımcıları

ClearForm("#myForm");             // Form içeriğini temizler
GetFormDataAsJSON("#myForm");     // Form verisini JSON objesi olarak döner

🪟 4. Modal İşlemleri

(Tailwind CSS ile uyumludur)

OpenModal("#myModal");
CloseModal("#myModal");

🔄 5. Dinamik İçerik Yükleme

Loading:


    var data = GetFormDataAsJSON($('#formId'));
    data.parametre = a;
    var url = '/home/partial';
    var target = '#divId';
    DivLoad(target, data, url).then(res => {
        if (res === "Success") {
            // Yükleme sonrası işlemler
        }
    });

loader yok:


    var data = GetFormDataAsJSON($('#formId'));
    data.parametre = a;
    var url = '/home/partial';
    var target = '#divId';
    DivNoLoading(target, data, url).then(data => {
        if (data === "Success") {
            // Yükleme sonrası işlemler
        }
    });

📨 6. Veri Ekleme / Gönderme


    var Object = GetFormDataAsJSON($('#formId'));
    AppAdd(Object, "/SaveData").then((data) => {
        if (data.status == "Success") {
            // İşlem başarılıysa yapılacaklar
        }
    });

📤 7. Dosya Yükleme

var formData = new FormData();
formData.append("file", $('#fileInput')[0].files[0]);
AddCollection(formData, "/UploadFile").then((data) => {
        if (data.status == "Success") {
            // İşlem başarılıysa yapılacaklar
        }
 });

✅ 8. Onaylı İşlemler (SweetAlert ile)

AppConfirm({ id: 123 }, "/DeleteItem", "Silinecek", "Emin misiniz?")
  .then(data => {
    if (data === "Success") {
        // Silme başarılı
    }
});

🖼️ 9. Görsel Kırpma (Croppie)

📌 Kaydederek kırp:

ImageCrop("#cropperId", "#modalId");

👁️ Sadece önizleme:

ImageCropDontSave("#cropperId", "#modalId");

Not: #Attachment ID'sine sahip bir input tetikleyici olarak kullanılmalıdır. Croppie ayarları içerisinde viewport boyutları ve kesme alanı tanımlanmalıdır.

💡 Ekstra Bilgi

SaveImg() fonksiyonu örneklerde yer almaz, resmi kaydetmek için ayrıca tanımlanmalıdır.

Tüm fonksiyonlar modüler yapıdadır; istenilen dosyadan import edilerek kullanılabilir.

✉️ İletişim

Her türlü soru, görüş ve katkı için proje geliştiricisiyle iletişime geçebilirsiniz.

📝 Lisans

MIT Lisansı