meiosis-setup Documentation

⬆ Contents Patches

Installation

You can install meiosis-setup:

Using npm

Install meiosis-setup with npm:

npm i meiosis-setup

Then you can import it and use it with this code:

import { meiosisSetup } from 'meiosis-setup';

const cells = meiosisSetup();

Using an HTML <script> tag

Load meiosis-setup by adding a <script> tag to your HTML page:

<script src="https://unpkg.com/meiosis-setup/meiosis-setup.js"></script>

Or load the minimized version:

<script src="https://unpkg.com/meiosis-setup/meiosis-setup.min.js"></script>

Then use the Meiosis global variable:

const cells = Meiosis.setup();

In both cases, the setup gives you a stream of cells as explained in the Meiosis documentation.

⬆ Contents Patches

Meiosis is developed by foxdonut (Twitter / GitHub) and is released under the MIT license.