Skip to content

consolelabs/mochi.js

Repository files navigation

mochi pose 5

Monorepo for everything related to Mochi and Javascript

🧰 What's included

🎛 mochi-formatter: a set of formatters (text + digit) + oppionated components (functions that return markdown text) to render content on platforms such as Discord or Telegram, it makes use of the markdown syntax and the code syntax which preserves spaces and fixed-width characters.

🚀 mochi-rest: an SDK for Mochi's api ecosystems, built with Typescript and shipped with a response schema validator so that developers who are interested can build Mochi applications with confidence.

Package Version
mochi-formatter npm latest version
mochi-rest npm latest version
mochi-mock npm latest version

🤝 Contributing

Use squash commit strategy in PRs

Clone this repo, create a new branch from main, do your magic then open a pull request and send a request review to vincent, your git commit should follow conventional commit format with the scope e.g. feat(mochi-formatter): add a new component..., after it is approved, you can merge the PR.

Development & docs

This repo was reindexed in the Console Labs org-consolidation hardening pass (2026-06).

  • CLAUDE.md , guidance for AI agents + humans (stack, conventions, commands).
  • docs/ARCHITECTURE.md , what's here and how it fits together.
  • docs/SECURITY-AUDIT-2026-06-25.md , secret-scan + dependency baseline.
  • CI: .github/workflows/security.yml runs gitleaks + a dependency audit on every PR.

Build / test:

pnpm install
pnpm build
pnpm lint
pnpm test

Secrets come from env / the platform, never hardcoded.

About

Mochi Monorepo

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages