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

easy-address-react

v1.1.2

Published

This is an NPM to fetch you the country details

Downloads

777

Readme

easy-adress-react

Easy Address React - is a comprehensive and lightweight package designed to help developers seamlessly access and manage location-specific data for Bangladesh, including countries, divisions, districts, and upazilas (sub-districts). With built-in support for latitude and longitude data, this package is your go-to solution for geographic information, enhancing productivity and saving valuable development time.

Authors

Installation

Install "easy-adress-react" with npm or yarn

  npm i easy-adress-react
  yarn add easy-adress-react

Usage/Examples

import Component from 'my-project'
import {getCountry,getOneCountry,getCountryWiseDivision,getOneDivision,getDivision,getDistrict,getOneDistrict,getDivisionWiseDistrict,getUpazilla,getOneUpazilla,getDistrictWiseUpazilla} from 'easy-adress-react'

function App() {
    const countries = getCountry();
    // It will return all countries

    const oneCountry = getOneCountry(countryId);
    // It will return one country

    const divisions = getDivision();
    // It will return all divisions

    const countryWiseDivision = getCountryWiseDivision(countryId);
    // It will return divisions under a country

    const oneDivision = getOneDivision(divisionId);
    // It will return one division
    // ...
    // ...
    const unions = getUnion();
    const oneUnion = getOneUnion(unionId);
    const upazillaWiseUnion = getUpazillaWiseUnion(upazillaId);


    // All Functions of 'easy-address-react';
    getCountry,getOneCountry,getCountryWiseDivision,getOneDivision,getDivision,getDistrict,getOneDistrict,getDivisionWiseDistrict,getUpazilla,getOneUpazilla,getDistrictWiseUpazilla,getUnion,getOneUnion,getUpazillaWiseUnion

  return <Component />
}

🚀 About Me

As a Senior Frontend Developer at Selopia since 2022, I am passionate about creating innovative and efficient web applications that enhance user experience and drive productivity. With expertise in modern frontend technologies such as React, Next.js, Vue, Framer Motion, Tailwind CSS, Material-UI, WebSocket, Socket.IO, and GSAP, I focus on delivering high-quality code and seamless user interfaces.

To further accelerate productivity, I am actively developing packages that streamline workflows for fellow developers. My practical knowledge extends beyond frontend development; I am well-versed in backend technologies, including Node.js, MongoDB, SQL, and TypeScript. This versatile skill set enables me to build comprehensive solutions and contribute effectively to full-stack projects.

Currently, I am pursuing my Bachelor’s degree in Computer Science and Engineering (CSE) at Sonargaon University, where I am in my 6th semester. My academic journey complements my professional experience, providing me with a strong foundation in software development principles and best practices.

I am dedicated to continuous learning and staying updated with the latest trends in technology, ensuring that I can contribute meaningfully to any project. My goal is to leverage my skills to develop impactful solutions that improve both developer productivity and user engagement.

Badges

MIT License

Features

  • Find Countries: Easily retrieve country data, focusing on Bangladesh and its administrative regions.
  • Division Finder: Quickly access division data for Bangladesh or any specific country.
  • District Lookup: Obtain district-level details for a division, ensuring accurate administrative mapping.
  • Upazila (Sub-district) Finder: Retrieve upazila data for any district, streamlining access to sub-district-level information.
  • Latitude and Longitude Support: Each geographical entity (country, division, district, and upazila) includes corresponding latitude and longitude data, facilitating geolocation services and mapping functionalities.
  • Country-specific Division Mapping: Get all divisions for a specific country, ensuring easy geographic data management.
  • Division-specific District Mapping: Access districts for a specific division, saving you time in administrative mapping.
  • District-specific Upazila Mapping: Drill down further into sub-districts (upazilas) for each district.