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

strapi-plugin-address-selection

v1.0.1

Published

An address custom field.

Readme

Strapi Plugin: Address Selection

Address Selection is a custom field plugin for Strapi (v5 and above) that provides an intuitive and user-friendly address form generator. With this plugin, users can input detailed address fields, and the form intelligently validates and filters entries based on the selected zip code.

✨ Features

  • Custom Address Fields: Includes fields for country, zip code, province, district, subdistrict, and house number.
  • Smart Filtering: Automatically displays only the provinces, districts, and subdistricts matching the entered zip code.
  • Seamless Integration: Works as a custom field in Strapi, making it easy to add to your content types.
  • Developer-Friendly: Fully compatible with Strapi's ecosystem and customizable as per project needs.

Note: This plugin currently supports addresses in Thailand only. Feel free to fork the repository to customize it for other countries or contribute to expand its capabilities.

⚙️ Requirements

  • Strapi Version: >=5.0.0
  • Node.js Version: >=14.x

🔧Installation

# Using npm
npm install strapi-plugin-address-selection

🧩 Configuration

You can customize the behavior of the Address Selection plugin by modifying its configuration file located at:

./config/plugins.js

Example:

module.exports = {
  'address-selection': {
    enabled: true,
    config: {
      // Add custom configurations if required
    },
  },
};

📮 Usage

  1. Add the Custom Field:

    • Go to the desired Content-Type Builder.
    • Add a new field and select the "Address Selection" custom field.
    • Configure the field settings as needed.
  2. Save and Use: Save the content type, and the address form will now be available in your entry forms.

⚡️ How It Works

  1. Zip Code Validation:

    • When a zip code is entered, the plugin fetches the corresponding provinces, districts, and subdistricts dynamically.
    • Non-matching options are automatically filtered out.
  2. Address Form Fields:

    • Country (https://github.com/annexare/Countries)
    • Zip Code (triggers filtering logic)
    • Province (filtered by zip code)
    • District (filtered by zip code)
    • Subdistrict (filtered by zip code)
    • House Number

📸 Screenshots

🧨 Troubleshooting

If you encounter any issues:

  1. Ensure the plugin is correctly installed and activated.
  2. Verify that your Strapi version is 5.0.0 or higher.
  3. Check the console or Strapi logs for error messages.
  4. Submit an issue on the GitHub repository.

🚀Contribution

Contributions are welcome! Feel free to submit a pull request or open an issue to suggest features or report bugs.

🔖License

This project is licensed under the MIT License.