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

@cs124/monace

v2026.1.2

Published

Monaco editor wrapper for code editing in the CS124 platform.

Readme

@cs124/monace

Monaco editor wrapper for code editing in the CS124 platform.

Overview

This library provides:

  • React wrapper for Monaco Editor
  • CS124-specific editor configurations
  • Syntax highlighting for Java and Kotlin
  • Code completion and IntelliSense
  • Integration with CS124 coding environments

Installation

# This library is part of the CS124 monorepo
# Install dependencies via Rush
rush update

Usage

import { MonacoEditor } from '@cs124/monace'

// Use in React components
<MonacoEditor
  language="java"
  value={code}
  onChange={setCode}
  theme="cs124-dark"
  options={{
    minimap: { enabled: false },
    lineNumbers: 'on',
    fontSize: 14
  }}
/>

Development

Prerequisites

  • Node.js 22.18.0
  • Rush (for monorepo management)
  • React 19.x

Commands

# Build the library
rushx build

# Run quality checks
rushx check

# Format code
rushx prettier

# Lint code
rushx eslint

# Type check
rushx tsc

# Check for unused dependencies
rushx depcheck

Project Structure

lib/monace/
├── src/
│   └── index.ts         # Monaco editor wrapper
├── dist/                # Built output (generated)
├── package.json         # Dependencies and scripts
├── tsconfig.json        # TypeScript configuration
└── tsconfig.build.json  # Build-specific TypeScript config

Features

  • Monaco Integration: Full Monaco Editor functionality
  • Language Support: Java and Kotlin syntax highlighting
  • Themes: CS124-specific editor themes
  • Code Completion: IntelliSense and autocomplete
  • Customizable: Extensive configuration options
  • React Integration: Clean React component interface

Technology Stack

  • Language: TypeScript (ES2019 target)
  • UI Framework: React 19.x
  • Editor: Monaco Editor
  • Build: TypeScript compiler

Editor Features

  • Syntax highlighting for Java and Kotlin
  • Code folding and formatting
  • Find and replace functionality
  • Multiple cursor support
  • Keyboard shortcuts
  • Accessibility support

Contributing

  1. Always run rushx check before committing
  2. Follow existing code conventions
  3. Use TypeScript for type safety
  4. Test with both Java and Kotlin code
  5. Ensure accessibility compliance