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

bembajs

v1.3.0

Published

BembaJS - A Next.js-like framework for programming in Bemba language with full control flow and Chakra UI support

Downloads

58

Readme

BembaJS

npm version License: MIT

BembaJS - A Next.js-like framework for programming in Bemba language 🇿🇲

🚀 Quick Start

Installation

# Install globally
npm install -g bembajs

# Or use with npx
npx bembajs --help

Create Your First Project

# Using CLI
bemba panga my-app

# Using npm create (Next.js style)
npm create bembajs@latest my-app

Development

cd my-app
npm run dev
# Server starts at http://localhost:3000

📚 CLI Commands

bemba panga <name>    # Create new project
bemba tungulula       # Start development server
bemba akha            # Build for production
bemba lint            # Lint Bemba code
bemba format          # Format Bemba code
bemba --version       # Show version
bemba help            # Show help

🏗️ Project Structure

my-app/
├── amapeji/          # Pages (like Next.js pages/)
│   ├── index.bemba
│   └── about.bemba
├── ifikopo/          # Components (like Next.js components/)
│   ├── Button.bemba
│   └── Card.bemba
├── maapi/            # API routes (like Next.js api/)
│   ├── hello.bemba
│   └── users.bemba
├── maungu/           # Static files (like Next.js public/)
│   ├── logo.png
│   └── style.css
└── package.json

💻 Programmatic Usage

import { compile, createDevServer, build } from 'bembajs';

// Compile Bemba code
const result = compile(`
  pangaIpepa('Home', {
    umutwe: 'Mwaiseni ku BembaJS!',
    ilyashi: 'Welcome to BembaJS framework'
  });
`);

// Start dev server
const server = await createDevServer({
  port: 3000,
  watch: true
});

// Build for production
await build({
  output: 'dist'
});

🌟 Features

  • 🇿🇲 Bemba Language - Program in your native Zambian language
  • ⚡ Next.js-like - Familiar developer experience
  • 🚀 Fast Development - Hot reload and instant feedback
  • 📦 Component-based - Reusable Bemba components
  • 🛣️ File-based Routing - Automatic route generation
  • 🔧 CLI Tools - Powerful command-line interface
  • 📱 Responsive - Mobile-first design
  • 🎨 Modern UI - Beautiful default styling

🎯 Templates

Choose from multiple project templates:

  • Base - Basic BembaJS application
  • Dashboard - Admin dashboard with charts
  • E-commerce - Online store template
  • Blog - Content management system

🔧 Configuration

Create bemba.config.js in your project root:

module.exports = {
  // Development server port
  port: 3000,
  
  // Build output directory
  output: 'dist',
  
  // Enable TypeScript
  typescript: true,
  
  // Custom Bemba folder names
  folders: {
    pages: 'amapeji',
    components: 'ifikopo',
    api: 'maapi',
    static: 'maungu'
  }
};

🚀 Bun Support

BembaJS is optimized for Bun runtime:

# Install with Bun
bun install -g bembajs

# Create project with Bun
bun create bembajs my-app

# Development with Bun
bun run dev

📖 Documentation

🤝 Contributing

We welcome contributions! Please see our Contributing Guide.

📄 License

MIT License - see LICENSE file for details.

🌍 Community

  • Website: https://bembajs.dev
  • GitHub: https://github.com/bembajs/bembajs
  • Discord: https://discord.gg/bembajs
  • Twitter: @BembaJS

Made with ❤️ in Zambia 🇿🇲