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

@mimik/create-mim

v1.0.2

Published

Creates a new mimik edge microservice.

Readme

@mimik/create-mim

Scaffold a new mim (micro intelligence module) project for the mimOE runtime.

Requirements

  • Node.js 18+ (tested on Node 22)
  • macOS, Linux, or Windows

Quick start

npx @mimik/create-mim create my-agent

cd my-agent
npm install
npm run build

That creates an AI agent mim (the default template). Run npx @mimik/create-mim list to see other templates.

Usage

Create a new mim

npx @mimik/create-mim create <project-name> [-t <template>] [-d "<description>"]

| Flag | Description | |----------------------|--------------------------------------------------------------| | -t, --template | Template to scaffold from. Default: ai-agent. | | -d, --description | Description written into the generated package.json. |

The command creates ./<project-name>/ from the chosen template. It refuses to overwrite an existing directory.

List available templates

npx @mimik/create-mim list

Templates

| Template | When to use it | |--------------|----------------| | ai-agent | (Default) AI agent built on @mimik/agent-kit with MCP tools. Needs an inference service — set INFERENCE_MODEL, INFERENCE_BASE_URI, INFERENCE_API_KEY in config/start-example.json before deploying. | | api-first | Swagger-driven microservice. Edit config/swagger.yml to define endpoints and schemas; controllers live in src/controllers/. |

After scaffolding

cd <project-name>
npm install
npm run build                            # webpack → build/index.js
./scripts/deploy.sh --build --redeploy   # deploy to a local mimOE node

For an ai-agent project, edit config/start-example.json to point at your inference service before the first deploy.

Generated project layout

ai-agent

my-agent/
├── .gitignore
├── .eslintignore
├── eslint.config.js
├── webpack.config.js
├── package.json
├── config/
│   ├── default.yml
│   └── start-example.json    # env vars for deploy (inference service, API keys)
├── scripts/
│   ├── init.sh               # download / install the local mimOE runtime
│   ├── start-mimoe.sh        # start the local mimOE node
│   └── deploy.sh             # build, package, and deploy the mim
├── src/
│   ├── agent.js              # agent persona + LLM config
│   ├── index.js              # HTTP entry point (mimikModule.exports)
│   ├── polyfills.js          # ES5 polyfills for the Duktape runtime
│   └── tools.js              # MCP tool definitions — edit to add your tools
└── test/
    └── local.http            # VS Code REST Client requests

api-first

my-api/
├── .gitignore
├── .eslintignore
├── eslint.config.js
├── webpack.config.js
├── package.json
├── CLAUDE.md
├── config/
│   ├── default.yml
│   ├── start-example.json
│   └── swagger.yml           # source of truth for endpoints & schemas
├── scripts/                  # init.sh, start-mimoe.sh, deploy.sh
├── src/
│   ├── index.js
│   ├── polyfills.js
│   ├── controllers/          # one file per swagger x-swagger-router-controller
│   ├── processors/           # business logic
│   ├── lib/                  # helpers
│   └── securityHandlers/     # auth handlers (e.g. bearer)
└── test/
    └── local.http

License

MIT © mimik technology inc.