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, using:
<script src="https://arweave.net/X6_x9aHNIaGCs_DTeRHwKQ_ZdWKzNSVxi_vTE5iCzGI"></script>
Or the minified version:
<script src="https://arweave.net/2uKz8OAMLL_1DA33WpKtGblKKFllGrzqmCtEMz7jC_w"></script>
To read about the CommunityJS usage go here: https://github.com/CommunityXYZ/community-js/blob/master/docs/classes/_community_.community.md