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

@keadex/mina-live

v3.0.1

Published

Web porting of the Keadex Mina application.

Downloads

359

Readme

GitHub GitHub package.json version (subfolder of monorepo) NPM Version

Quick Overview

Keadex Mina Live is the web-based version of Keadex Mina.

Specifically, this library provides a React component that allows you to embed Keadex Mina into your React or Next.js application.

Usage with React

Install

yarn add @keadex/mina-live # or npm install @keadex/mina-live

Import

[!WARNING]
Make sure to include also the css file from @keadex/mina-live/index.css

App.jsx

import "@keadex/mina-live/index.css";
import MinaLive from "@keadex/mina-live";

export function App() {
  return (
    <div className="w-full h-screen">
      <MinaLive />
    </div>
  );
}

export default App;

Configure the bundler

Mina Live requires custom bundler configurations, such as enabling support for WebAssembly (WASM) files.

To simplify this setup, the Mina Live package provides a Webpack helper function (withMinaLiveWebpackConfig()) that streamlines the required configuration.

webpack.config.js

const { withMinaLiveWebpackConfig } = require("@keadex/mina-live/webpack-config");

const config = {
  // your Webpack config
}

module.exports = withMinaLiveWebpackConfig()(config)

Usage with Next.js

For a working example, please visit this folder.

Install

yarn add @keadex/mina-live # or npm install @keadex/mina-live

Create the Mina Live Client Component

[!WARNING]
Make sure to include also the css file from @keadex/mina-live/index.css

src\components\MinaLiveClient\MinaLiveClient.tsx

'use client'

import dynamic from 'next/dynamic'
import '@keadex/mina-live/index.css'

const MinaLive = dynamic(() => import('@keadex/mina-live'), {
  ssr: false,
})

export default function MinaLiveClient() {
  return <MinaLive />
}

Create the Mina Live Page

[!WARNING]
For Mina Live to function correctly, it must be served from a route that ends with /mina-live (e.g., https://keadex.dev/mina-live).

src\app\mina-live\page.tsx

import MinaLiveClient from "@/components/MinaLiveClient/MinaLiveClient";

export default function MinaLive() {
  return <MinaLiveClient />;
}

Configure the bundler

Mina Live requires custom bundler configurations, such as enabling support for WebAssembly (WASM) files.

To simplify this setup, the Mina Live package provides a Next.js plugin (withMinaLive()) that streamlines the required configuration.

next.config.ts

import type { NextConfig } from "next";

// eslint-disable-next-line @typescript-eslint/no-require-imports
const withMinaLive = require("@keadex/mina-live/nextjs-plugin");

const nextConfig: NextConfig = {
  /* config options here */
};

export default withMinaLive()(nextConfig);

Configure the Next.js Proxy

To enable Mina Live to load all required assets, you need to configure the Next.js proxy by including the proxy provided by the Mina Live package.

src\proxy.ts

import { NextResponse, NextRequest } from "next/server";
import { minaMiddleware } from "@keadex/mina-live/nextjs-middleware";

export const config = {
  matcher: ["/((?!api|_next/static|_next/image|assets|favicon.ico|sw.js).*)"],
};

export function proxy(req: NextRequest) {
  const minaMiddlewareResponse = minaMiddleware(req);
  if (minaMiddlewareResponse) {
    return minaMiddlewareResponse;
  } else {
    return NextResponse.next();
  }
}