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

mui-adapter-js-joda

v0.1.2

Published

MUI-X date pickers adapter for js-joda.

Readme

mui-adapter-js-joda

A MUI X Date Pickers adapter for js-joda, so you can use LocalDate, LocalDateTime, and ZonedDateTime as the picker's value type instead of Date, Day.js, Luxon, or Moment.

Originally derived from @date-io/js-joda, updated for the MuiPickersAdapter interface used by current MUI X.

Install

pnpm add mui-adapter-js-joda \
  @js-joda/core @js-joda/locale @js-joda/locale_en-us \
  @mui/x-date-pickers

@js-joda/locale_en-us is listed as an optional peer — substitute any @js-joda/locale_* prebuilt package if you need a different locale. In @js-joda/locale v5 these prebuilt packages are side-effect only: they register CLDR data with @js-joda/locale, where the Locale class itself lives.

Use

import { AdapterJsJoda } from 'mui-adapter-js-joda';
import { Locale } from '@js-joda/locale';
// Side-effect import: registers en/en-US data. Pick the locale package(s)
// that match the locales you support.
import '@js-joda/locale_en-us';
import { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider';
import { DatePicker } from '@mui/x-date-pickers/DatePicker';

export function App() {
  return (
    <LocalizationProvider
      dateAdapter={AdapterJsJoda}
      adapterLocale={Locale.US}
    >
      <DatePicker label="Pick a date" />
    </LocalizationProvider>
  );
}

The picker's value will be a LocalDate, LocalDateTime, or ZonedDateTime depending on which picker you use and whether a timezone is in play.

Develop

pnpm install
pnpm typecheck   # tsc --noEmit
pnpm test        # vitest run
pnpm build       # vite build -> dist/

License

BSD-3-Clause, matching upstream js-joda. Incorporates portions of @date-io/js-joda (© 2017 Dmitriy Kovalenko, MIT) and ported test infrastructure from MUI X (© 2019 Material-UI SAS, MIT). See LICENSE for the full notices.