MCPcopy Index your code
hub / github.com/LeetCode-OpenSource/ayanami

github.com/LeetCode-OpenSource/ayanami @v0.20.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.20.1 ↗ · + Follow
198 symbols 426 edges 45 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Ayanami

A better way to react with state. Inspired by redux-epics-decorator

GitHub license PRs Welcome code style: prettier npm version codecov CircleCI minzipped size

Highlights

  • No extra configuration, everything is out of the box
  • Define state and actions in a predictable and type-safe way
  • Use RxJS to create side effects and more
  • Debuggable: Inspect actions and state changes via redux-devtools-extension

Installation

Using yarn:
yarn add ayanami @asuka/di reflect-metadata rxjs immer
Or via npm:
npm install ayanami @asuka/di reflect-metadata rxjs immer

Examples

Extension points exported contracts — how you extend this code

State (Interface)
(no doc)
test/specs/connect.spec.tsx
DevTools (Interface)
(no doc)
src/redux-devtools-extension.ts
ComponentConnectedWithAyanami (Interface)
(no doc)
src/connect.tsx
ActionSymbols (Interface)
(no doc)
src/core/symbols.ts
SSREffectOptions (Interface)
(no doc)
src/ssr/express.ts
Config (Interface)
(no doc)
src/hooks/use-ayanami.ts
State (Interface)
(no doc)
demo/index.tsx
TipsState (Interface)
(no doc)
test/specs/reducer.spec.ts

Core symbols most depended-on inside this repo

getState
called by 20
src/core/utils/basic-state.ts
getInstanceWithScope
called by 16
src/core/scope/index.ts
useAyanami
called by 9
src/hooks/use-ayanami.ts
combineWithIkari
called by 8
src/core/ikari.ts
SSRModule
called by 8
src/ssr/ssr-module.ts
emitSSREffects
called by 7
src/ssr/run.ts
add
called by 7
demo/index.tsx
destroy
called by 6
src/core/ikari.ts

Shape

Function 68
Class 51
Method 48
Interface 29
Enum 2

Languages

TypeScript100%

Modules by API surface

test/specs/ssr.spec.tsx27 symbols
demo/index.tsx16 symbols
test/specs/hooks.spec.tsx15 symbols
test/specs/effect.spec.ts15 symbols
src/core/ikari.ts14 symbols
src/core/scope/__test__/scope.spec.ts13 symbols
test/specs/connect.spec.tsx12 symbols
src/redux-devtools-extension.ts8 symbols
test/specs/reducer.spec.ts6 symbols
test/specs/immer-reducer.spec.ts6 symbols
test/specs/define-action.spec.ts6 symbols
src/core/utils/basic-state.ts6 symbols

For agents

$ claude mcp add ayanami \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact