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 πŸ™

Β© 2025 – Pkg Stats / Ryan Hefner

ntrn

v4.1.8

Published

πŸš€ Professional AI-powered Next.js to React Native converter with intelligent screen creation, never-fail conversion system, comprehensive auto-fix, automatic runtime error fixing, AI assistant, Mistral AI problem-solving, intelligent Shadcn/ui conversion

Readme

πŸš€ NTRN v4.1.2 - Professional Next.js to React Native Converter πŸš€

  _   _ _____ ____  _   _ 
 | \ | |_   _|  _ \| \ | |
 |  \| | | | | |_) |  \| |
 | |\  | | | |  _ <| |\  |
 |_| \_| |_| |_| \_\_| \_|

🌟 PROFESSIONAL AI-POWERED CONVERTER 🌟

πŸš€ WHAT'S NEW IN v4.1.2 - EXPO SDK 53 COMPATIBILITY

🎯 CRITICAL UPDATE: EXPO SDK 53 COMPATIBILITY

✨ PROFESSIONAL FEATURES

πŸ€– INTERACTIVE AI ASSISTANT - POWERED BY MISTRAL AI & GEMINI

πŸ€– You: ntrn --prompt
πŸ€– NTRN: Analyzing your project... Found 3 failed conversions!
πŸ€– NTRN: Would you like me to fix them?

πŸ€– You: yes
πŸ€– NTRN: Fixing rate limit issues and syntax errors...
πŸ“„ Fixed: src/screens/ProfileScreen.tsx
πŸ“„ Fixed: src/services/AuthService.ts
βœ… All conversions completed successfully!

πŸ€– You: Add dark mode support
πŸ€– NTRN: Creating theme system...
πŸ“„ Created: src/contexts/ThemeContext.tsx
πŸ“ Modified: App.tsx
βœ… Dark mode ready with toggle functionality!

🎨 SHADCN/UI MAGIC CONVERSION

Next.js Code:

import { Button } from "@/components/ui/button"
import { Card, CardHeader, CardTitle, CardContent } from "@/components/ui/card"
import { Input } from "@/components/ui/input"

export function LoginForm() {
  return (
    <Card className="w-full max-w-sm">
      <CardHeader>
        <CardTitle>Sign In</CardTitle>
      </CardHeader>
      <CardContent className="space-y-4">
        <Input type="email" placeholder="Enter email" />
        <Button className="w-full" onClick={handleLogin}>
          Sign In
        </Button>
      </CardContent>
    </Card>
  )
}

React Native Code:

import React from 'react';
import { View, Text, TextInput, TouchableOpacity, StyleSheet } from 'react-native';

export function LoginForm() {
  return (
    <View style={styles.card}>
      <View style={styles.cardHeader}>
        <Text style={styles.cardTitle}>Sign In</Text>
      </View>
      <View style={styles.cardContent}>
        <TextInput
          style={styles.input}
          placeholder="Enter email"
          keyboardType="email-address"
          autoCapitalize="none"
        />
        <TouchableOpacity 
          style={styles.button}
          onPress={handleLogin}
          activeOpacity={0.7}
        >
          <Text style={styles.buttonText}>Sign In</Text>
        </TouchableOpacity>
      </View>
    </View>
  );
}
// + Comprehensive styles automatically generated

⚑ INSTALLATION & SETUP

πŸš€ Quick Install:

# Install globally
npm install -g ntrn@latest

# Or clone and setup
git clone https://github.com/AmeyKuradeAK/ntrn.git
cd ntrn
npm install
npm link

⚑ First Time Setup:

# Run NTRN - it will guide you through setup
ntrn

# Choose your AI provider (Mistral AI recommended)
# Enter your API key when prompted
# Keys are saved automatically for future use

Requirements:

  1. Node.js 18+ (Latest LTS)
  2. Mistral AI API Key (Recommended) or Gemini API Key
  3. Expo CLI for testing converted projects

🎯 PROFESSIONAL CONVERSION MODES

🎯 Choose Your Workflow:

For Professional Conversion (Recommended):

cd my-nextjs-app
ntrn                    # Professional AI conversion

For Interactive Development:

ntrn --prompt          # AI assistant mode

For Traditional Approach:

ntrn --legacy          # Legacy file-by-file conversion

πŸ”„ Switch AI Providers:

ntrn --switch-provider  # Switch between Mistral AI and Gemini

For AI-Powered Development:

cd my-react-native-app
ntrn --prompt          # ChatGPT-like assistance

πŸ’° PRICING & TOKEN USAGE

πŸ“š DOCUMENTATION UNIVERSE

⚑ POWERED BY THE BEST

πŸ“Έ Terminal Demo

πŸš€ ROADMAP TO THE FUTURE

🀝 CONTRIBUTING

We love contributions! Please check out our CONTRIBUTING.md before submitting a pull request.

You can:

  • πŸ› Open issues
  • 🌟 Suggest new features
  • πŸ›  Improve the CLI or documentation

🌍 JOIN THE COMMUNITY

πŸ“« Stay in Touch

If you like this project, show some ❀️

  • ⭐ Star the repo
  • 🐦 Tweet about it
  • πŸ“’ Share with your team

πŸš€ READY TO TRANSFORM YOUR NEXT.JS APP?

npm install -g ntrn@latest
cd your-nextjs-project
ntrn

πŸ“„ License

This project is licensed under the APACHE 2.0 License.
Do whatever you want, just give credit.


Made with πŸ’™ by Amey Kurade

Sponsor