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

tekivex-india

v0.1.2

Published

India-specific component pack for tekivex-ui — Aadhaar/PAN/Voter ID/DL inputs, PIN-code address lookup, Indian rupee with lakh/crore grouping, Tithi/Nakshatra calendar.

Downloads

378

Readme

tekivex-india

India-specific component pack for tekivex-ui. Aadhaar / PAN / Voter ID / Driving Licence inputs with format validation, PIN-code → city/state lookup, ₹ with lakh/crore grouping, Tithi/Nakshatra calendar.

Install

npm install tekivex-india tekivex-ui

tekivex-ui is a peer dependency — install both as a pair.

Why a separate package

These components live inside tekivex-ui and tree-shake correctly when imported from there. This package is a curated namespace so:

  • Indian-locale apps can pin to tekivex-india and get focused docs / focused TypeScript surface
  • The semver of India-specific components can move independently of the main library
  • Consumers who don't need Indian features don't see them in autocomplete

If you're already importing from tekivex-ui, you don't need this package — but it's there for clarity.

What's in it

| Component | Purpose | |---|---| | TkxAadhaarInput | 12-digit Aadhaar entry with Verhoeff checksum validation (UIDAI's official check). Masks first 8 digits at render. | | TkxPanInput | 10-char PAN with format check + entity-type-character validation. | | TkxVoterIdInput | EPIC format check (3 letters + 7 digits). | | TkxDrivingLicenceInput | State+RTO+year+sequence format with normalised output. | | TkxAddressInput | India Post PIN→city/state autocomplete via postalpincode.in. | | TkxCurrencyInput | Locale="en-IN" gives 1,23,456.78 (lakh/crore) instead of 123,456.78. | | TkxCalendarLunar | Hindu calendar mode shows Tithi (1–30) + Nakshatra (1–27). | | TkxPhoneInput | Defaults to +91, full intl support. |

Validators exported standalone

You can also use the validation logic without the component:

import { isValidAadhaar, isValidPan, isValidVoterId, isValidDrivingLicence } from 'tekivex-india';

isValidAadhaar('234123412346');   // → true (real Verhoeff check)
isValidPan('ABCPK1234F');         // → true (P = individual)
isValidVoterId('ABC1234567');     // → true
isValidDrivingLicence('MH12 2010 0012345'); // → true

These are pure functions — safe to use in form-validation libraries (Yup, Zod, React Hook Form), server-side, or in tests.

Status

Preview. Source-available; npm publish on demand.