https://github.com/groupme-js/node-groupme
The only GroupMe API library for NodeJS that isn't a million years old.
https://github.com/groupme-js/node-groupme
groupme groupme-api groupme-bot groupme-chat javascript nodejs typescript
Last synced: about 1 year ago
JSON representation
The only GroupMe API library for NodeJS that isn't a million years old.
- Host: GitHub
- URL: https://github.com/groupme-js/node-groupme
- Owner: groupme-js
- License: mit
- Created: 2021-02-11T19:17:02.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-12-04T22:30:52.000Z (over 2 years ago)
- Last Synced: 2025-06-09T14:51:26.126Z (about 1 year ago)
- Topics: groupme, groupme-api, groupme-bot, groupme-chat, javascript, nodejs, typescript
- Language: TypeScript
- Homepage: https://groupme.js.org
- Size: 1.31 MB
- Stars: 28
- Watchers: 1
- Forks: 11
- Open Issues: 44
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# node-groupme
| ✔️ This package is in active development! If you'd like to contribute, [click here](https://github.com/groupme-js/node-groupme/contribute) 🙂 |
| ----------------------------------------------------------------------------------------------------------------------------------------------- |
### About
Inspired by [discord.js](https://github.com/discordjs/discord.js), `node-groupme` aims to replace the obsolete [groupme](https://www.npmjs.com/package/groupme) package with a modern, object-oriented, intuitive approach to interacting with the GroupMe API.
[](https://npmjs.com/node-groupme)
[](https://groupme.js.org)
[](https://discord.gg/5yxWtuuEZg)
---
This community-led effort is made possible by the [unofficial GroupMe API Community Docs](https://github.com/2CATteam/GroupMeCommunityDocs). Please contribute to the development of open-source applications by contributing to the community docs.
Join the [node-groupme server on Discord](https://discord.gg/5yxWtuuEZg) to discuss the API or ask any questions.
---
### Getting Started
```
npm i node-groupme
```
```js
const GroupMe = require('node-groupme');
const client = new GroupMe.Client('YOUR_TOKEN_HERE');
client.login()
.then(client => client.groups.fetch())
.then(groups => groups.forEach(group => console.log(group.name)))
.then(client.logout)
.catch(console.error);
```
---
### Getting Started (Contributing)
```
git clone git@github.com:groupme-js/node-groupme.git
npm i
npm run prepare
```
`npm run prepare` sets up [husky](https://github.com/typicode/husky) pre-commit hooks, which will auto format and run eslint on your staged files locally.