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

terminal-lite

v0.0.31

Published

A lightweight customizable terminal-like React component.

Readme

Terminal-Lite

Terminal UI interface component library

Description

Terminal-lite is a lightweight, customizable terminal UI component library designed for building terminal-like interfaces in web applications. It provides a set of pre-styled components and utilities to create a seamless terminal experience.

Usage

To use Terminal-lite in your project, follow these steps:

  1. Install the package: Ensure you have installed the library using:

    npm install terminal-lite
  2. Import the styles: Add the following line to your main entry file (e.g., main.tsx or App.tsx):

    import 'terminal-lite/css';
  3. Use the components: Import and use the components in your React application. For example:

    import React from 'react';
    import { Terminal } from 'terminal-lite';
    
    const App = () => {
         return (
              <Terminal title="Your Title" className="your-classes">
                //Place your content here
              </Terminal>
         );
    };
    
    export default App;

This example demonstrates how to create a basic terminal interface with a title, header, action buttons, and a body section. You can further customize the styles and structure as needed.

Customize

Part Id's:

  • #terminal-title: Represents the title section of the terminal interface.
  • #terminal-header: Represents the header section of the terminal, typically containing controls or title.
  • #terminal-action-btns-container: A container for the action buttons (e.g., minimize, restore, close) in the terminal header.
  • #terminal-minimize-btn: Represents the minimize button in the terminal interface.
  • #terminal-restore-btn: Represents the restore button in the terminal interface, used to resize the terminal to its previous state.
  • #terminal-close-btn: Represents the close button in the terminal interface, used to close the terminal.
  • #terminal-body: Represents the main content area of the terminal interface.

Customizing IDs Example

You can customize the IDs of the terminal components by overriding the default styles in your CSS file. Here's an example:

/* Custom styles for terminal components */
#terminal-title {
    font-size: 1.5rem;
    color: #00ff00;
}

#terminal-header {
    background-color: #333;
    padding: 10px;
}

#terminal-action-btns-container {
    display: flex;
    gap: 5px;
}

#terminal-minimize-btn,
#terminal-restore-btn,
#terminal-close-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

#terminal-minimize-btn {
    background-color: yellow;
}

#terminal-restore-btn {
    background-color: green;
}

#terminal-close-btn {
    background-color: red;
}

#terminal-body {
    background-color: #000;
    color: #fff;
    padding: 20px;
    font-family: monospace;
}

Credits

Terminal-lite is developed and maintained by Muhammed Doğancan Yılmazoğlu. Special thanks to the open-source community for their contributions and feedback. If you have any suggestions or improvements, feel free to open an issue or contribute to the project on GitHub.