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

@inicrea/bikram-sambat-react-native

v0.1.3

Published

Bikram Sambat (Nepali) date picker and converter for React Native. No WebAssembly, no native modules, works on Hermes.

Readme

@inicrea/bikram-sambat-react-native

Bikram Sambat (Nepali) date picker, calendar and date converter for React Native.

No WebAssembly, no native modules, nothing to link. Hermes has no WASM support, so WASM-backed Nepali date libraries are web-only; this one is plain JavaScript and works in Expo Go, bare React Native, iOS and Android alike.

npm install @inicrea/bikram-sambat-react-native
import { useState } from 'react';
import { BikramDatePicker } from '@inicrea/bikram-sambat-react-native';

export function JoinDate() {
  const [date, setDate] = useState('2026-08-20'); // AD "YYYY-MM-DD"
  return <BikramDatePicker value={date} onChange={setDate} />;
}

Requires React Native ≥ 0.70 and React ≥ 18. No pod install, no config plugin.

Values are plain strings

value and onChange speak "YYYY-MM-DD". AD by default; switch with valueFormat="BS".

<BikramDatePicker
  value={date}
  onChange={(value, { ad, bs }) => {
    value;  // '2026-08-20'   (matches valueFormat)
    ad;     // '2026-08-20'   (always AD)
    bs;     // { year: 2083, month: 5, day: 4 }
  }}
/>

Components

<BikramDatePicker />

A tappable field that opens the calendar in a Modal. Tapping the backdrop dismisses it; Android's back button is handled through onRequestClose.

| Prop | Default | | | --- | --- | --- | | value / onChange | - | "YYYY-MM-DD" in and out | | valueFormat | 'AD' | 'AD' or 'BS' | | format | 'YYYY MMMM DD' | display pattern for the field | | locale | 'en' | 'en' or 'ne' | | min / max | - | bounds | | theme | - | partial palette override | | colorScheme | 'light' | base palette | | weekStartsOn | 0 | 0 = Sunday | | weekend | 'nepal' | history-aware weekend policy | | isDateDisabled, dayContent, disabled, placeholder, style, testID, onOpenChange | | |

<BikramCalendar />

The month grid on its own, for inline calendars and bottom sheets.

<BikramDateConverter />

Two TextInputs wired together. Type BS, get AD, or the other way round.

<BikramDateConverter defaultValue="2026-08-20" onChange={({ ad, bs }) => {}} />

useBikramCalendar()

The state behind the components with no UI, for building your own layout: month navigation, the day grid, and which days are selectable.

Theming

Pass a partial theme; anything you leave out comes from the base palette.

import { BikramDatePicker, darkTheme } from '@inicrea/bikram-sambat-react-native';

<BikramDatePicker
  colorScheme="dark"
  theme={{ accent: '#b91c1c', radius: 12, daySize: 44, fontFamily: 'Inter' }}
/>

Fields: accent, accentContrast, background, foreground, muted, border, weekend, radius, daySize, fontFamily. To follow the OS theme, pass colorScheme={useColorScheme() ?? 'light'} from React Native.

For full control, createStyles(theme) returns the StyleSheet the components use, so you can build a matching design of your own.

Holidays

Not bundled: they change by government notice each year. Supply your own through dayContent and isDateDisabled:

<BikramDatePicker
  dayContent={(day) => (holidays[day.ad] ? <View style={styles.dot} /> : null)}
  isDateDisabled={(day) => day.weekend}
/>

Weekends are handled for you, including Nepal's move to a two-day weekend on 2026-04-12.

Accessibility

Every day is a Pressable with accessibilityRole="button" and a label carrying both calendars, "5 Shrawan 2083 (2026-07-21)", plus accessibilityState for selected and disabled days. Screen-reader users hear the AD date alongside the BS one.

Built by

Inicrea Technologies builds web and mobile products. We wrote this for our own apps and open sourced it, and we maintain it in the open. If you are building something similar and want help, get in touch through the site.

Licence

MIT © Inicrea Technologies. Calendar data derived from the Yorion engine (MIT OR Apache-2.0). See NOTICE.