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

redx-delivery-areas

v1.1.0

Published

Get all delivery areas of redx

Readme

RedX Delivery Areas - Bangladesh Delivery Locations API

redx-delivery-areas is a NPM package that provides a comprehensive list of delivery areas across Bangladesh, categorized by district names. This package is ideal for e-commerce businesses, logistics companies, and developers who need structured location data, including area names, postcodes, and zone IDs.

Features

  • 🚀 Get all delivery areas across Bangladesh.
  • 🔍 Filter areas by district name for precise location-based data.
  • 📌 Retrieve area details, including postcodes, zone IDs, and divisions.
  • 🌍 Get a list of all districts in Bangladesh with their respective divisions.
  • 📦 Ideal for e-commerce, logistics, and location-based services.

Installation

To install the package, run the following command:

npm install redx-delivery-areas

Usage

🔹 Get Areas by District Name

This method returns an array of areas for a given district name.

import { getAreasByDistrict } from "redx-delivery-areas";

const dhakaAreas = getAreasByDistrict("Dhaka");
console.log(dhakaAreas);

Example Response

[
  {
    "id": 1,
    "name": "Salimullah Road(Mohammadpur)",
    "post_code": 1207,
    "district_name": "Dhaka",
    "division_name": "Dhaka",
    "zone_id": 1
  },
  {
    "id": 2,
    "name": "Dhanmondi - Road 3",
    "post_code": 1209,
    "district_name": "Dhaka",
    "division_name": "Dhaka",
    "zone_id": 1
  }
]

🔹 Get Area by Area Name

This method returns a specific area based on its name.

import { getAreaByName } from "redx-delivery-areas";

const area = getAreaByName("Kabir Hat (Noakhali)");
console.log(area);

Example Response

{
  "id": 2,
  "name": "Kabir Hat (Noakhali)",
  "post_code": 3811,
  "district_name": "Noakhali",
  "division_name": "Noakhali",
  "zone_id": 1
}

🔹 Get All Districts

This method returns a list of all districts in Bangladesh with their divisions.

import { getAllDistricts } from "redx-delivery-areas";

const districts = getAllDistricts();
console.log(districts);

Example Response

[
  { "id": 1, "name": "Bagerhat", "division": "Khulna" },
  { "id": 2, "name": "Bandarban", "division": "Chittagong" },
  { "id": 3, "name": "Barguna", "division": "Barisal" },
  { "id": 4, "name": "Barisal", "division": "Barisal" },
  { "id": 5, "name": "Bhola", "division": "Barisal" },
  { "id": 6, "name": "Bogra", "division": "Rajshahi" },
  { "id": 7, "name": "Brahmanbaria", "division": "Chittagong" },
  { "id": 8, "name": "Chandpur", "division": "Chittagong" },
  { "id": 9, "name": "Chapai Nawabganj", "division": "Rajshahi" },
  { "id": 10, "name": "Chattogram", "division": "Chittagong" },
  { "id": 11, "name": "Chuadanga", "division": "Khulna" },
  { "id": 12, "name": "Comilla", "division": "Chittagong" },
  { "id": 13, "name": "Cox's Bazar", "division": "Chittagong" },
  { "id": 14, "name": "Dhaka", "division": "Dhaka" },
  { "id": 15, "name": "Dinajpur", "division": "Rangpur" },
  { "id": 16, "name": "Faridpur", "division": "Dhaka" },
  { "id": 17, "name": "Feni", "division": "Chittagong" },
  { "id": 18, "name": "Gaibandha", "division": "Rangpur" },
  { "id": 19, "name": "Gazipur", "division": "Dhaka" },
  { "id": 20, "name": "Gopalganj", "division": "Dhaka" }
]

📜 License

This package is licensed under the MIT License.

🔗 Keywords & Tags

Bangladesh Delivery Areas, District-wise Areas, RedX API, Courier Service Data, Bangladesh Postcodes, Logistics API, E-commerce Delivery, NPM Package, Delivery Zones, Dhaka Delivery Areas, Bangladesh Districts