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

fca-azadx69x

v3.0.1

Published

Facebook Chat API - fca-azadx69x by Azadx69x

Readme

                         📘 fca-azadx69x                               
            🔥 Advanced Facebook Chat API for Node.js                
                         Fast • Reliable •

[📦 NPM Version: 3.0.0] [⬇️ Downloads: 100+] [📄 License: MIT]

✨ FEATURES

⚡ Lightning Fast → Axios-powered HTTP requests 🔒 Secure → Built-in encryption & session management 📡 WebSocket → Native ws implementation 🛠️ Easy Setup → Zero-config with smart defaults 📱 MQTT Support → Real-time message listening 🎯 TypeScript Ready → Full type definitions

🚀 QUICK START

INSTALLATION

npm install fca-azadx69x

BASIC USAGE

const login = require('fca-azadx69x');

login({ 
    email: '[email protected]', 
    password: 'your_password' 
}, (err, api) => {
    if (err) return console.error('❌ Login failed:', err);
    
    console.log('✅ Logged in successfully!');
    
    api.listenMqtt((err, message) => {
        if (message && message.body) {
            console.log(`📩 New message: ${message.body}`);
        }
    });
});

📚 API REFERENCE

login(credentials, callback)

┌─────────────┬──────────┬──────────┬─────────────────────┐
│ Parameter   │ Type     │ Required │ Description         │
├─────────────┼──────────┼──────────┼─────────────────────┤
│ email       │ string   │    ✓     │ Facebook email      │
│ password    │ string   │    ✓     │ Facebook password   │
│ callback    │ function │    ✓     │ (err, api) => {}    │
└─────────────┴──────────┴──────────┴─────────────────────┘

api.listenMqtt(callback)

Listen for incoming messages in real-time.

api.listenMqtt((err, message) => {
    if (err) return console.error(err);
    
    console.log({
        threadID: message.threadID,
        senderID: message.senderID,
        body: message.body,
        attachments: message.attachments
    });
});

BREAKING CHANGES:

- const request = require('request');
+ const axios = require('axios');

- api.listen((err, msg) => { ... });
+ api.listenMqtt((err, msg) => { ... });


┌─────────────────────┬───────────────────┐
│ Old                 │ New               │
├─────────────────────┼───────────────────┤
│ request library     │ axios             │
│ websocket-stream    │ native ws         │
│ api.listen()        │ api.listenMqtt()  │
└─────────────────────┴───────────────────┘

🛠️ DEVELOPMENT SCRIPTS

npm start          →  Start application
npm run lint:fix   →  Fix linting issues
npm test           →  Run tests
npm run build      →  Build for production

🤖 Simple Echo Bot

const login = require('fca-azadx69x');

login(credentials, (err, api) => {
    api.listenMqtt((err, message) => {
        if (message.body === '/sesg') {
            api.sendMessage('💋 segs!', message.threadID);
        }
    });
});

🤝 CONTRIBUTING

1. 🍴 Fork the repository
2. 🌿 Create branch: git checkout -b feature/amazing
3. 💾 Commit: git commit -m 'Add amazing feature'
4. 📤 Push: git push origin feature/amazing
5. 🔃 Open Pull Request

>> Before submitting, run:
   npm run lint:fix

📄 LICENSE

MIT License © 2026 Azadx69x


Made with ❤️ by Azadx69x
─────────────────────────────────────
📦 NPM:  npmjs.com/package/fca-azadx69x
💻 GitHub:  github.com/ncazad/fca-azadx69x
🐛 Issues:  github.com/ncazad/fca-azadx69x/issues