You can install meiosis-setup
:
<script>
tag.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();
<script>
tagLoad 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.