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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zaadevofc/baileys

v1.127.9-dev

Published

Zaieys is a WhatsApp API library that focuses on user convenience and efficiency

Downloads

93

Readme

Zaieys - Typescript/Javascript WhatsApp Node API

Warning!!! This library is not fully finished, and it is still really raw, I suggest you patiently wait until the version of this library is no longer -dev (development)

zaieys zaieys version download License: MIT

Zaieys is a WhatsApp API library that focuses on user convenience and efficiency. This library is only a modification of the baileys library.

Where is the Zaieys library to make it easier to create WhatsApp bots. I really look forward to suggestions and input from all of you, thank you for using✨

If you have any complaints or questions, please submit them on the github issue here or discussion here, that will also help everyone.

🚀 Lets do it

Installation

Install with your fav installer

  npm add @zaadevofc/baileys

  yarn add @zaadevofc/baileys

  pnpm add @zaadevofc/baileys

call your project using module or commonjs

import { WA } from "@zaadevofc/baileys";
// or
const { WA } = require("@zaadevofc/baileys");

Make connection

By default, this library supports multiple device, so you don't need a lot of configuration.

configuration by default

const wa = new WA({
  authDir: 'session',
  authors: [],
  browser: ['Zaieys', 'Safari', '1.0'],
  showLog: true
});

Simple connection

const start = async () => {
  await wa.init(start);

  wa.on("connection", ({ status }) => {
    if (status == 'ready') {
      // hello momm
    }
  });

  wa.on("message", (msg) => {
    if (msg.text == 'hai') {
      wa.sendReply('keliatan bgt nyenggol zharif')
    } 
    
    if (msg.text == 'test') {
      wa.sendText('hi! i am a HTML developer..')
    }
  });
};

// running in main file
start();

📃 Documentation

If you want more details, you can visit the documentation for this library here :

📃 Docs 📃 Docs 📃 Docs 📃 Docs 📃 Docs

🥇 Author

This library was designed by zaadevofc

I am an Indonesian who likes to be confused about the world~

🍴 Feedback

Kalau punya Feedback jangan cerita ke nadia omara tapi diskusi disini :

https://github.com/zaadevofc/Baileys/discussions

If you have feedback, you can discuss it above ☝️

License

License: MIT