Leave a 🌟 on Github →
Million
DocsResearchBenchmarks
/
GitHubDiscordDiscord
/
  • Start Here
  • Installation
  • API
    • Basics
      • m()
      • render()
    • Advanced
      • createElement()
      • patch()
      • hydrate()
      • Flags
      • Deltas
      • startTransition()
      • batch()
      • thunk()
    • Extra
      • HTML Helpers
      • morph()
      • router()
      • Shared Utilities
  • Tooling
    • Using JSX
    • SSG/SSR
  • Docs
    • Start Here
    • Installation
    • API
      • Basics
        • m()
        • render()
      • Advanced
        • createElement()
        • patch()
        • hydrate()
        • Flags
        • Deltas
        • startTransition()
        • batch()
        • thunk()
      • Extra
        • HTML Helpers
        • morph()
        • router()
        • Shared Utilities
    • Tooling
      • Using JSX
      • SSG/SSR
  • Research
    • Research
  • Benchmarks
    • Live Benchmarks
    • Official Benchmarks
Docs
/
Installation

Installation

Inside your project directory, run the following command:

npm install million

Or with yarn:

yarn add million

If you want to just play around with Million, you can use a Skypack import:

<script type="module">
  import { m, render } from 'https://cdn.skypack.dev/million';

  // your code here
</script>
Start Here
m()
Question? Give us feedback →Edit this page on GitHub →

Powered By

Million is MIT-licensed open-source software and research project by Aiden Bai