The easiest way to use p5.party is to link to the built library using a CDN. Add this <script> tag to your index.html. If you are using p5.js, put it after the p5.js <script> tag.
<script src="<https://cdn.jsdelivr.net/npm/p5.party@latest/dist/p5.party.js>"></script>
That url always points to the latest release. To use a specific version, put the version number in the url instead of latest:
https://cdn.jsdelivr.net/npm/p5.party@ + version+/dist/p5.party.js
For example, here is a url to version 0.15.0:
https://cdn.jsdelivr.net/npm/[email protected]/dist/p5.party.js
You can also download p5.party.js (and p5.party.js.map) from the latest release on Github. Look under “Assets”.
For more detailed instructions, visit the quick start guides: p5.js Web Editor Quick Start Guide (p5.js 1), VS Code Quick Start Guide (p5.js 1), or p5.js 2 Quick Start Guide.