1. Conduid
  2. Developer Tools
  3. Npm Typed.mbt
MCP server · Developer Tools

Npm Typed.mbt

MCP server: Npm Typed.mbt

Unclaimed devtools
49Fair

Scored 4 days ago · breakdown

About Npm Typed.mbt

Npm Typed.mbt is an MCP server published by mizchi in the Developer Tools category: mCP server: Npm Typed.mbt.

The repository has 15 stars and 2 forks, with the last commit a month ago. Recent commit activity is the strongest signal that reported issues will get attention.

Install

From source
git clone https://github.com/mizchi/npm_typed.mbt

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Npm Typed.mbt

Powered by Claude · Grounded in docs

I know everything about Npm Typed.mbt. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.1.3v0.1.3

README

mizchi/npm_typed

Typed npm package bindings for MoonBit, built on top of mizchi/js.

Inspired by DefinitelyTyped - the repository for high quality TypeScript type definitions. This project aims to be the MoonBit equivalent, providing type-safe FFI bindings for popular npm packages.

Note: These bindings require installing the corresponding npm packages.

# Example: Install React dependencies
npm install react react-dom

# Example: Install Hono
npm install hono

Installation

moon add mizchi/npm_typed

The bindings are built on mizchi/js, which is split into per-environment modules. Add the ones your package needs:

moon add mizchi/js          # facade: re-exports js_core + js_builtin
moon add mizchi/js_core     # Any, Promise, Nullable, interop primitives
moon add mizchi/js_builtin  # Object, Array, JSON, RegExp, Symbol, ...
moon add mizchi/js_web      # fetch, Streams, Blob, URL, Crypto, ...
moon add mizchi/js_node     # fs, http, stream, process, ...
moon add mizchi/js_browser  # dom, history, storage, ...
moon add mizchi/js_convert  # MoonBit <-> JS value conversion

Add to your moon.pkg:

import {
  "mizchi/js",
  "mizchi/js_core" @core,
  "mizchi/npm_typed/react",
  "mizchi/npm_typed/hono",
}

Available Packages

UI Frameworks

Package npm Status Note
react react 🧪 Tested Core React API
react_element - 🧪 Tested Typed HTML elements for React
react_dom react-dom 🧪 Tested React DOM
react_dom_client react-dom/client 🧪 Tested Client-side rendering
react_dom_server react-dom/server 🧪 Tested Server-side rendering
react_dom_static react-dom/static 🤖 AI Generated Static rendering
react_router react-router 🧪 Tested Client-side routing
testing_library_react @testing-library/react 🧪 Tested React testing utilities
preact preact 🧪 Tested Lightweight React alternative
testing_library_preact @testing-library/preact 🤖 AI Generated Preact testing utilities
ink ink 🧪 Tested React for CLI apps
ink_ui @inkjs/ui 🧪 Tested Ink UI components

Web Frameworks

Package npm Status Note
hono hono 🧪 Tested Fast web framework, middleware support
better_auth better-auth 🤖 AI Generated Authentication library
helmet helmet 🧪 Tested Security headers middleware

AI / LLM

Package npm Status Note
ai ai (Vercel AI SDK) 🧪 Tested AI/LLM integration
modelcontextprotocol @modelcontextprotocol/sdk 🧪 Tested MCP server/client
claude_code @anthropic-ai/claude-code 🤖 AI Generated Claude Code SDK

Cloud Services

Package npm Status Note
client_s3 @aws-sdk/client-s3 🧪 Tested S3-compatible storage (AWS, GCS, R2, MinIO)

Database

Package npm Status Note
pglite @electric-sql/pglite 🧪 Tested Embedded PostgreSQL
duckdb @duckdb/duckdb-wasm 🤖 AI Generated Analytical database
drizzle drizzle-orm 🤖 AI Generated TypeScript ORM (see limitations)
pg pg 🤖 AI Generated PostgreSQL client

Validation / Schema

Package npm Status Note
zod zod 🧪 Tested Schema validation
ajv ajv 🧪 Tested JSON Schema validator

Build Tools

Package npm Status Note
terser terser 🧪 Tested JavaScript minifier
vite vite 🧪 Tested Next-gen build tool
unplugin unplugin 🤖 AI Generated Unified plugin system
lighthouse lighthouse 🤖 AI Generated Web performance auditing
esbuild esbuild 🧪 Tested Fast bundler
oxc_minify oxc-minify 🧪 Tested Oxc minifier

Utilities

Package npm Status Note
date_fns date-fns 🧪 Tested Date manipulation
semver semver 🧪 Tested Semantic versioning
chalk chalk 🧪 Tested Terminal styling
colorette colorette 🧪 Tested Terminal colors
dotenv dotenv 🧪 Tested Environment variables
chokidar chokidar 🧪 Tested File watching
yargs yargs 🤖 AI Generated CLI argument parsing
debug debug 🤖 AI Generated Debug logging
jose jose 🧪 Tested JWT/JWE/JWS
comlink comlink 🤖 AI Generated Web Worker RPC
simple_git simple-git 🤖 AI Generated Git operations
ignore ignore 🤖 AI Generated .gitignore parsing
memfs memfs 🧪 Tested In-memory file system
minimatch minimatch 🧪 Tested Glob matching
execa execa 🧪 Tested Process execution
pino pino 🧪 Tested Fast logging
magic_string magic-string 🧪 Tested String manipulation

Testing / Development

Package npm Status Note
vitest vitest 🚧 Partial Test runner
puppeteer puppeteer 🧪 Tested Browser automation
playwright playwright 🧪 Tested Browser automation
playwright_test @playwright/test 🤖 AI Generated Playwright test framework
jsdom jsdom 🧪 Tested DOM implementation
happy_dom happy-dom 🧪 Tested Fast DOM implementation
global_jsdom global-jsdom 🧪 Tested JSDOM for testing
testing_library @testing-library/dom 🧪 Tested DOM testing utilities
msw msw 🧪 Tested Mock Service Worker
ink_testing_library ink-testing-library 🧪 Tested Ink testing utilities

Parsing

Package npm Status Note
htmlparser2 htmlparser2 🧪 Tested HTML/XML parser
js_yaml js-yaml 🤖 AI Generated YAML parser
source_map source-map 🧪 Tested Source map utilities
error_stack_parser error-stack-parser 🧪 Tested Stack trace parsing

Status Legend

  • 🧪 Tested: Comprehensive test coverage
  • 🚧 Partial: Core functionality implemented
  • 🤖 AI Generated: Needs testing

Can't find your library?

You can easily add new bindings with AI assistance:

./_scripts/new-library.sh <package_name>

See CONTRIBUTING.md for details. Most bindings in this repository were generated with AI agents.

Quick Start

React Example

// moon.pkg.json: import mizchi/npm_typed/react, mizchi/npm_typed/react_element

fn counter(_props : Unit) -> @react.Element {
  let (count, set_count) = @react.useState(0)
  @react_element.div([
    @react_element.span(["Count: \{count}"]),
    @react_element.button(on_click=fn(_) { set_count(count + 1) }, ["+"]),
  ])
}

Hono Example

// moon.pkg.json: import mizchi/npm_typed/hono

async fn main {
  let app : @hono.Hono[@core.Any, @core.Any] = @hono.Hono::new()
  app.get("/", fn(c) { c.text("Hello, Hono!") }) |> ignore
}

Zod Example

// moon.pkg.json: import mizchi/npm_typed/zod

fn main {
  let user_schema = @zod.object({
    "name": @zod.string(),
    "age": @zod.number().int(),
  })
  let data = @core.new_object()
  data["name"] = @core.any("Alice")
  data["age"] = @core.any(30)
  match user_schema.safeParse(data) {
    Ok(_) => println("Valid!")
    Err(_) => println("Invalid!")
  }
}

Requirements

This package requires:

  • MoonBit nightly 2025-12-09 or later for ESM #module directive support
  • mizchi/js v0.9.0 or later as a peer dependency

Related Projects

LICENSE

MIT

README fetched from the repository 6 days ago. The original is authoritative.

Questions

About Npm Typed.mbt

How do I install Npm Typed.mbt?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Npm Typed.mbt safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Npm Typed.mbt still maintained?

Yes — the last commit was a month ago. The repository has 15 stars and 2 forks and 1 open issues.