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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@vasild/multi-date-picker

v0.0.1

Published

A plugin that allows for selection of multiple singular dates in Strapi

Downloads

140

Readme

Multi Date Picker

A Strapi custom field plugin that allows selection of multiple individual dates.

NPM Version License: MIT

📋 Overview

The Multi Date Picker plugin adds a new custom field type to your Strapi application, allowing content editors to select and manage multiple individual dates. This is particularly useful for scenarios like:

  • Event calendars with multiple dates
  • Booking systems with available dates
  • Publication schedules
  • Any content type that requires multiple date selections

🔧 Requirements

  • Strapi v5.0.0 or higher
  • Node.js 18.x, 20.x, or 22.x
  • npm 6.0.0 or higher

⚡ Installation

# Using npm
npm install @vasild/multi-date-picker

# Using yarn
yarn add @vasild/multi-date-picker

# Using pnpm
pnpm add @vasild/multi-date-picker

🚀 Usage

  1. Create or edit a content type in your Strapi application
  2. Add a new custom field and select "Multi Date Picker" from the list
  3. Configure the field as needed (required, private, etc.)
  4. Save your content type

Now when creating or editing entries, content editors will be able to select multiple dates using the date picker interface.

✨ Features

  • User-friendly date picker interface
  • Add and remove dates easily
  • Dates stored as a JSON array for easy querying and manipulation
  • Full compatibility with Strapi's validation and permissions system
  • Responsive design for all screen sizes

💻 API Reference

Data Structure

The field stores dates as a JSON array of strings in ISO format (YYYY-MM-DD):

["2025-05-01", "2025-05-15", "2025-05-30"]

Component Props

The MultiDate component accepts the following props:

| Prop | Type | Description | |------|------|-------------| | name | string | Field name | | onChange | function | Callback when value changes | | value | string|string[] | Current value(s) | | hint | string | Helper text shown below the input | | required | boolean | Whether the field is required | | labelAction | React.ReactNode | Custom action displayed next to the label | | label | string | Field label | | disabled | boolean | Whether the field is disabled | | error | string | Error message | | placeholder | string | Placeholder shown in date picker |

🎨 Styling

The plugin uses Strapi's Design System components to maintain a consistent look and feel with the rest of your admin panel.

Query example with Strapi API

// Get entries with a specific date
const entries = await strapi.entityService.findMany('api::event.event', {
  filters: {
    dates: {
      $containsi: '2025-05-01'
    }
  }
});

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

Development

To contribute to this plugin:

  1. Clone the repository
  2. Install dependencies with npm install
  3. Run development server with npm run watch
  4. Build with npm run build

📝 License

This project is MIT licensed.

✨ Author


Built with ❤️ for the Strapi community.