Urgent.News

What's breaking now, across thousands of outlets.

Tech

๐Ÿ‡ง๐Ÿ‡ฉ Introducing @olism/bd-geo โ€” Bangladesh Geographic Data for JavaScript & TypeScript

๐Ÿš€ I'm excited to share my new open-source npm package: @olism/bd-geo . @olism/bd-geo is a JavaScript/TypeScript package that provides structured geographical data for Bangladesh, including divisions, districts, upazilas/thanas, areas, and villages . The goal is simple: make it easier for developers to work with Bangladesh's geographical hierarchy without having to maintain their own datasets. โœจโ€ฆ

Introducing @olism/bd-geo, a new open-source npm package that brings structured geographical data for Bangladesh to JavaScript and TypeScript developers. This package simplifies the process of incorporating Bangladesh's geographic hierarchy into applications by providing a ready-to-use dataset that includes divisions, districts, upazilas/thanas, areas, and villages.

The primary objective of @olism/bd-geo is to eliminate the need for developers to maintain their own geographical datasets, thereby streamlining the development process for applications that require location data in Bangladesh. With this package, developers can directly incorporate the geographical hierarchy into their JavaScript and TypeScript projects without the hassle of data cleaning, structuring, or maintenance.

The dataset provided by @olism/bd-geo encompasses a comprehensive range of geographic elements, including:

- Divisions

- Districts

- Upazilas / Thanas

- Areas

- Villages

These elements make the package suitable for a variety of applications, such as:

- Address and location forms

- E-commerce and delivery systems

- Real-estate applications

- Location-based applications

- Database seeding

- Data visualization

- Location search and filtering

For instance, an address form can leverage the geographical hierarchy to allow users to select their location by navigating through divisions, districts, upazilas/thanas, areas, and villages.

The motivation behind creating @olism/bd-geo was to make Bangladesh's geographical data more accessible to developers working on real-world applications. By providing a common structure for geographical data, the package aims to facilitate a more efficient development experience for those building applications that rely on location data in Bangladesh.

The project is still in its early stages, and the author invites community feedback, suggestions, bug reports, and ideas for improvement to enhance the dataset, APIs, documentation, and overall developer experience.

Interested developers and contributors can find more information about @olism/bd-geo on NPM (https://www.npmjs.com/package/@olism/bd-geo) and GitHub (https://github.com/mohammad-oliullah/bd-geo). The author welcomes contributions, issues, and collaborations from developers working on Bangladesh-focused applications. To show appreciation for this package, users can star the GitHub repository and share it with others in the developer community.

Written by urgent.news from Dev.to's reporting โ€” not their text. Machine-written โ€” may contain errors; check the original before relying on it.

Read the original at dev.to โ†’

More in Tech

The Complete Guide to Password Manager Compliance: GDPR, HIPAA, and SOC 2 Explained

Introduction Password managers have become essential infrastructure for both individual users and enterprises managing hundreds of credentials.

  • GDPR compliance requires data minimization and right to data portability.
  • HIPAA mandates encryption, access controls, and a Business Associate Agreement.
  • SOC 2 Type II requires a six-month audit covering security, availability, and privacy.

The Best CSS Architecture Starts by Deciding What CSS Should Never Do

Also available in Espaรฑol The Problem A design token system starts clean. Colors, spacing, type scale all values, all legitimate.

  • A CSS architecture starts by defining what the system should not do.
  • Design token system includes values like colors, spacing, and type scale.
  • Explicit restrictions prevent CSS from becoming a state holder or logic provider.

La mejor arquitectura CSS comienza al decidir quรฉ no debe hacer CSS jamรกs

Tambiรฉn disponible en Inglรฉs El problema Un sistema de tokens de diseรฑo comienza limpio. Colores, espaciado, escala tipogrรกfica; todos valores, todos legรญtimos.

  • CSS architecture should start with deciding what CSS must never do
  • Design token system begins clean with colors, spacing, typography values
  • Explicit exclusions create system resilience and prevent state/logic creep

More from Tuesday 25 August โ†’