CommunityJS is a Javascript library to interact directly with the community contract, it handles all the communication between the frontend and the SmartWeave contract that's available on the permaweb.
We have in place a full documentation of the functions community.js offers.
To get started you need to have community-js installed on your webpage or server. You can do this by using nodejs with:
npm install community-js
Or you can use the currently permaweb version for your frontend.
Minified:
<script src="https://arweave.net/Lan1Vv19EA_MVlt2-PS9zdQHDRTFJ9s7esV4hUtzs5s"></script>
Full:
<script src="https://arweave.net/322Oi33FIXJuKYxelGnlsmTB5qj3q64uzRO0tkAmwEY"></script>
To read about the CommunityJS usage go here: https://github.com/CommunityXYZ/community-js/blob/master/docs/classes/community.default.md