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

carbox-date-picker

v0.2.0

Published

a tiny and fast zero-dependency date-picker fully compatible with any UI framework or without a framework at all!

Readme

Carbox Date-Picker

A tiny zero-dependency and framework-agnostic date picker that is incredibly easy to use! Compatible with any web UI framework, vanilla JS projects, and even HTML-only projects!

screenshot

Features

  • carbox-picker is a Web Component. It is EXTREMELY EASY to use! You can simply import the JS bundle and use the tag <carbox-picker></carbox-picker> and you're all set!
  • You can use carbox even if you only have HTML only! You do not need any Javscript code and without having to use any framework!
  • Zero Dependencies: This was completely written with vanilla JS without any frameworks or dependencies!
  • Extremely Lightweight: The webpack bundle is only 4kb even before zipping.
  • Frontend Framework Agnostic: You can use carbox with any web UI framework! In fact, it can be used without a framework at all!
  • Can be interfaced just like a regular <input> which allows easy integration with forms, refs, etc.

Getting Started

Importing as a Dependency

You can import carbox into a javascript file as a dependency. First, install it as a dependency using your favorite JS dependency manager, such as npm, yarn or pnpm. npm example:

npm install carbox-date-picker

Then import it using one of the following methods:

ES6 modules

import picker from 'carbox-date-picker'

CommonJS modules

require('carbox-date-picker')

Import The Bundled Script into HTML

Alternatively, you may build a minified bundle and import it as a script into your HTML file. This is especially useful if you are working on a small project or are not using Javascript!

  • First, clone this repo:
git clone https://gitlab.com/oxamide/carbox-date-picker.git && cd carbox-date-picker
  • install the project dev dependencies
npm ci
  • build the minified bundle
npm run build
  • The bundle will be created in a folder called lib and will be called index.js. You can customize this by editing webpack.config.js.
  • Copy the bundle over to your project
  • Iport the bundle to your HTML file as follows.
<script src={path to script}></script>
  • you're all set to start using it!

Usage

To use carbox date picker, simply use the <carbox-picker> tag in your HTML. No Javascript needed at all!

<carbox-picker></carbox-picker>

Contribution

Contributions are very welcome and encouraged!

  • Find an open issue in the issues section. Look for something that is interesting to you and you think you can work on!
  • Alternatively, feel free to open an issue for any bugs or any suggested or requested features
  • Comment on the issue indicating your willingness to work on it. Make sure no one else has done it yet!
  • You can start working on the feature / bug fix immediately, no need to wait for approval
  • Feel free to open draft pull request (PR) before it is ready while you're working on it. You may ask clarifying question or ask for help on the way