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

@jsarc/native-mda

v0.0.1-beta.1.0

Published

NATIVE MDA est le système de composants design MDA pour React Native et Expo : ~80 composants portés depuis MDA, basés sur StyleSheet, avec valeurs responsive/scroll par propriété et icônes fournies par @jsarc/native-mda-svgicons.

Readme

@jsarc/native-mda

License TypeScript React Native Expo

@jsarc/native-mda est le système de composants design MDA pour React Native / Expo — le port natif de la bibliothèque MDA de arcjs-app. ~80 composants (Button, Card, Dialog, Charts, DatePicker, Drawer, Tabs, …) avec un thème JS (theme.ts/cx.ts), une i18n intégrée et des icônes fournies par @jsarc/native-mda-svgicons (un seul contexte IconStyle partagé).

Structure de plugin npm comme les paquets @jsarc/* : source TypeScript à la racine (main: index.ts) + miroir compilé js/.

📦 Installation

npm install @jsarc/native-mda @jsarc/native-mda-svgicons
# dépendances natives (projet Expo) :
npx expo install react-native-svg expo-linear-gradient expo-blur expo-video \
  expo-audio expo-document-picker expo-image-manipulator react-native-view-shot

Dépendances

  • @jsarc/native-mda-svgicons (icônes)
  • React 18+, React Native 0.81+, react-native-svg 15+
  • Expo 54+ : expo-linear-gradient, expo-blur, expo-video, expo-audio, expo-document-picker, expo-image-manipulator, react-native-view-shot

🚀 Utilisation

import { Button, Card, CardContent, Chip, MDALocaleProvider } from '@jsarc/native-mda';

export default function App() {
  return (
    <MDALocaleProvider locale="fr">
      <Card>
        <CardContent>
          <Chip label="MDA" />
          <Button variant="contained" onPress={() => {}}>Valider</Button>
        </CardContent>
      </Card>
    </MDALocaleProvider>
  );
}

Icônes

Les composants affichent leurs icônes via MdaIcon, lui-même rendu par SvgIcon de @jsarc/native-mda-svgicons. La couleur et la taille héritent du plus proche <IconStyle> (≈ currentColor + font-size) :

import { MdaIcon, IconStyle } from '@jsarc/native-mda';

<IconStyle color="#1976d2" size={15}>
  <MdaIcon d="M12 2l3 7h7l-5.5 4 2 7L12 16l-6.5 4 2-7L2 9h7z" />
</IconStyle>

Pour utiliser les 2583 icônes nommées du jeu MDA, importez-les directement depuis le paquet d'icônes :

import { SvgIcon } from '@jsarc/native-mda-svgicons';
import home from '@jsarc/native-mda-svgicons/icons/home';
<SvgIcon icon={home} size={24} />

🗂️ Structure

@jsarc/native-mda/
  index.ts            # barrel public (tous les composants + thème + i18n)
  theme.ts  cx.ts     # thème JS + helpers de style/couleur
  _shared/            # Icon (→ @jsarc/native-mda-svgicons), i18n, hooks, …
  <Component>/        # ~80 dossiers de composants
  js/                 # miroir compilé (esbuild)
  package.json  tsconfig.json  README.md

🛠️ (Re)génération du miroir js/

npm run build   # node build-js.mjs (esbuild → js/)

📄 Licence

MIT © INICODE