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

json-simple-editor

v1.0.5

Published

A lightweight React JSON editor with TypeScript

Downloads

2

Readme

🧩 React JSON Editor

A lightweight, customizable JSON editor for React with syntax highlighting powered by PrismJS. Ideal for admin panels, internal tools, or any interface where users need to view or edit JSON.

npm License React


✨ Features

  • 💡 Live JSON editing
  • 🎨 Syntax highlighting (keys, values, numbers, etc.)
  • 🧩 Fully customizable styles
  • 🛠 Built using react-simple-code-editor and prismjs
  • 📦 Easy to integrate with any React project

📦 Installation

npm install react-json-editor-lite prismjs
# or
yarn add react-json-editor-lite prismjs

🚀 Usage

import React, { useState } from "react";
import { JsonEditor } from "react-json-editor-lite";

const App = () => {
  const [json, setJson] = useState({ name: "Ali", age: 25 });

  return (
    <JsonEditor
      value={json}
      onChange={setJson}
      editorStyle={{
        backgroundColor: "#1e1e1e",
        color: "#d4d4d4",
        minHeight: "300px",
      }}
    />
  );
};

🧰 Props

| Prop | Type | Description | | ------------- | -------------------------------------- | --------------------------------------- | | value | Record<string, any> | The JSON object to display/edit | | onChange | (value: Record<string, any>) => void | Called when the editor content changes | | style | React.CSSProperties | Optional wrapper style | | editorStyle | React.CSSProperties | Optional style for the code editor area |

🛡 License

MIT License © 2025 Ali Raza

🙌 Acknowledgments

  • react-simple-code-editor
  • PrismJS

👋 Hi there, I'm Ali Raza

🚀 About Me

I'm a passionate Full Stack Developer based in Berlin, Germany, with extensive experience in building scalable web and mobile applications. I specialize in React, React Native, and Node.js, with a strong focus on creating performant and user-friendly solutions. When I'm not coding, you can find me exploring new tech trends, contributing to open-source projects, or mentoring other developers.

💻 Tech Stack

  • Languages: TypeScript, JavaScript, Python
  • Frontend: React, Next.js, HTML5, CSS3
  • Mobile: React Native, Expo
  • Backend: Node.js, Express
  • Database: MongoDB, PostgreSQL, Redis
  • Tools: Git, Docker, VS Code
  • Cloud: AWS, Vercel, Azure

📦 Package Dependencies

{
  "dependencies": {
    "prismjs": "^1.30.0",
    "typescript": "^5.0.0"
  }
}

🌟 Current Focus

  • Building scalable web and mobile applications
  • Contributing to open-source projects
  • Learning new technologies and best practices
  • Creating developer tools and utilities
  • Exploring AI and machine learning integration

🏆 Achievements

  • Built and launched multiple successful web and mobile applications
  • Contributed to various open-source projects
  • Mentored junior developers
  • Created reusable React components and libraries
  • Developed and maintained production applications for major companies

🎯 Goals for 2024

  • Master advanced TypeScript patterns
  • Dive deeper into cloud architecture
  • Build more developer tools
  • Contribute to major open-source projects
  • Enhance mobile development skills

📫 Connect With Me

📊 GitHub Stats

Your GitHub stats

🏆 Top Languages

Top Languages

🌟 Fun Facts

  • 🎮 Avid gamer and tech enthusiast
  • 📚 Love reading tech blogs and documentation
  • 🎵 Code with music playing in the background
  • 🌍 Always excited to learn about new technologies
  • 🎯 Based in Berlin, Germany
  • 🌱 Currently learning German

📈 Activity Graph

Activity Graph

🏢 Professional Experience

  • Kibsons (Dubai) - Software Engineer
  • Convo (Pakistan) - Frontend Developer
  • Septem Systems (Pakistan) - Software Engineer

🎓 Education

  • B.S. in Software Engineering from Foundation University

🌍 Languages

  • English (Professional)
  • German (Basic)

⭐️ From aliraza401