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 🙏

© 2025 – Pkg Stats / Ryan Hefner

asikleys

v1.0.1

Published

Enhanced Baileys fork with full button support (quick reply, list, copy/call/link buttons) and media overlay features

Downloads

269

Readme

Asikleys (English)

Enhanced Baileys fork with full button support for WhatsApp Web.

Based on Baileys v7.0.0-rc.9 - All the power of the original Baileys library, plus enhanced button functionality.

🎯 Features

✨ Full Button Support

  • Quick Reply Buttons - Standard interactive buttons that work on both Web and Mobile
  • List Messages - Dropdown selection menus
  • Interactive Buttons - Copy, Call, and Link buttons (hydrated buttons)
  • Native Flow Buttons - Advanced dropdown menus with custom flows

🤖 Try it Live!

Want to see Asikleys in action? Try our AsikN WhatsApp bot: https://tiny.cc/asikn

📦 Installation

npm install asikleys

🚀 Quick Start

const { default: makeWASocket } = require('asikleys');

// Use exactly like Baileys
const sock = makeWASocket({
    // your config
});

// Send quick reply buttons
await sock.sendMessage(jid, {
    text: 'Choose an option:',
    footer: 'Footer text',
    buttons: [
        { buttonId: 'id1', buttonText: { displayText: 'Button 1' }, type: 1 },
        { buttonId: 'id2', buttonText: { displayText: 'Button 2' }, type: 1 }
    ],
    headerType: 1,
    viewOnce: true
});

// Send list message
await sock.sendMessage(jid, {
    text: 'Select from list:',
    buttonText: 'Click Here',
    sections: [
        {
            title: 'Section 1',
            rows: [
                { title: 'Option 1', rowId: 'opt1', description: 'Description 1' },
                { title: 'Option 2', rowId: 'opt2', description: 'Description 2' }
            ]
        }
    ]
});

// Send copy button (hydrated button)
await sock.sendMessage(jid, {
    text: 'Here is your code:\n\nABCD-1234',
    footer: 'Click to copy',
    interactiveButtons: [
        {
            name: 'cta_copy',
            buttonParamsJson: JSON.stringify({
                display_text: '📋 Copy Code',
                copy_code: 'ABCD-1234'
            })
        }
    ]
});

📝 Button Types

Quick Reply Buttons

Standard buttons that send a message when clicked.

List Messages

Dropdown menus with multiple sections and options.

Interactive Buttons (Hydrated)

  • Copy Button (cta_copy) - Copies text to clipboard
  • Call Button (cta_call) - Initiates a phone call
  • Link Button (cta_url) - Opens a URL

Native Flow Buttons

Advanced interactive dropdowns with custom flows.

🔄 Migration from Baileys

Asikleys is a drop-in replacement for Baileys. Simply replace:

// Before
const { default: makeWASocket } = require('baileys');

// After
const { default: makeWASocket } = require('asikleys');

All existing Baileys code will work without changes!

📜 License

MIT

🙏 Credits

💬 Support

For issues and questions, please open an issue on GitHub.


Made with ❤️ for the WhatsApp bot community

Try it live: https://tiny.cc/asikn


Asikleys (Bahasa Indonesia)

Fork Baileys yang ditingkatkan dengan dukungan tombol lengkap untuk WhatsApp Web.

Berbasis Baileys v7.0.0-rc.9 - Semua kekuatan library Baileys asli, ditambah fungsionalitas tombol yang ditingkatkan.

🎯 Fitur

✨ Dukungan Tombol Lengkap

  • Tombol Quick Reply - Tombol interaktif standar yang berfungsi di Web dan Mobile
  • List Messages - Menu dropdown dengan pilihan
  • Tombol Interaktif - Tombol Copy, Call, dan Link (hydrated buttons)
  • Tombol Native Flow - Menu dropdown lanjutan dengan flow kustom

🤖 Coba Langsung!

Ingin melihat Asikleys beraksi? Coba bot WhatsApp AsikN kami: https://tiny.cc/asikn

📦 Instalasi

npm install asikleys

🚀 Mulai Cepat

const { default: makeWASocket } = require('asikleys');

// Gunakan persis seperti Baileys
const sock = makeWASocket({
    // konfigurasi kamu
});

// Kirim tombol quick reply
await sock.sendMessage(jid, {
    text: 'Pilih opsi:',
    footer: 'Teks footer',
    buttons: [
        { buttonId: 'id1', buttonText: { displayText: 'Tombol 1' }, type: 1 },
        { buttonId: 'id2', buttonText: { displayText: 'Tombol 2' }, type: 1 }
    ],
    headerType: 1,
    viewOnce: true
});

// Kirim list message
await sock.sendMessage(jid, {
    text: 'Pilih dari list:',
    buttonText: 'Klik Di Sini',
    sections: [
        {
            title: 'Bagian 1',
            rows: [
                { title: 'Opsi 1', rowId: 'opt1', description: 'Deskripsi 1' },
                { title: 'Opsi 2', rowId: 'opt2', description: 'Deskripsi 2' }
            ]
        }
    ]
});

// Kirim tombol copy (hydrated button)
await sock.sendMessage(jid, {
    text: 'Ini kode kamu:\n\nABCD-1234',
    footer: 'Klik untuk copy',
    interactiveButtons: [
        {
            name: 'cta_copy',
            buttonParamsJson: JSON.stringify({
                display_text: '📋 Copy Kode',
                copy_code: 'ABCD-1234'
            })
        }
    ]
});

📝 Jenis Tombol

Tombol Quick Reply

Tombol standar yang mengirim pesan saat diklik.

List Messages

Menu dropdown dengan beberapa bagian dan opsi.

Tombol Interaktif (Hydrated)

  • Tombol Copy (cta_copy) - Menyalin teks ke clipboard
  • Tombol Call (cta_call) - Memulai panggilan telepon
  • Tombol Link (cta_url) - Membuka URL

Tombol Native Flow

Dropdown interaktif lanjutan dengan flow kustom.

🔄 Migrasi dari Baileys

Asikleys adalah pengganti langsung untuk Baileys. Cukup ganti:

// Sebelum
const { default: makeWASocket } = require('baileys');

// Sesudah
const { default: makeWASocket } = require('asikleys');

Semua kode Baileys yang ada akan berfungsi tanpa perubahan!

📜 Lisensi

MIT

🙏 Kredit

💬 Dukungan

Untuk masalah dan pertanyaan, silakan buka issue di GitHub.


Dibuat dengan ❤️ untuk komunitas bot WhatsApp

Coba langsung: https://tiny.cc/asikn