This package returns a list of public users, belonging to a Github organization.
npm i github-organization-members
const { getPublicUsersFromOrg } = require('github-organization-members');
const orgName = "Moduate"; // Replace Moduate with your organization name
getPublicUsersFromOrg(orgName, (error, members) => {
if(error) {
console.log(error);
}
console.log(members);
});