# not-an-aardvark/snoowrap

A JavaScript wrapper for the reddit API

Repository: https://github.com/not-an-aardvark/snoowrap
Canonical: https://ross.abutalabs.com/products/snoowrap
Language: JavaScript
License: MIT
License Family: permissive
Topics: hacktoberfest
Archived: true
Last push: 2023-02-20T12:20:03+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3880, "days_push": 1290, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1031, forks 126 (observed 2026-08-28T04:03:18.054938+00:00)

## What it is
snoowrap is a fully-featured JavaScript wrapper for the reddit API, providing a simple promise-based interface to every reddit endpoint. It handles authentication token refresh, rate-limit protection, request retries, and lazy object loading automatically.

## Use cases
- build a reddit bot that posts and moderates content
- fetch subreddit posts and comments programmatically
- automate reddit moderation tasks like distinguishing and flaring posts
- analyze reddit user activity and submissions
- upvote or reply to submissions from a script
- chain reddit API calls with fluent syntax

## When to choose
- you need to interact with the reddit API from Node.js or a browser
- you want automatic token refresh and rate-limit handling out of the box
- you prefer promise-based, chainable API calls over raw HTTP requests
- you need a PRAW-like experience in JavaScript

## When to avoid
- you need a wrapper for a platform other than reddit
- your project requires actively maintained dependencies, as development has slowed
- you need synchronous API access

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, api-framework, rate-limiting, auth
- domain: apis, social-media, developer-tools
- platform: browser
- tags: reddit-api, api-wrapper, promise-based, oauth, automation, nodejs, javascript

## Member repositories
- not-an-aardvark/snoowrap (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:18.054938+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:07:28.618910+00:00, confidence not recorded.
  - readme: https://github.com/not-an-aardvark/snoowrap (fetched 2026-08-28T04:03:18.054938+00:00, sha 2a1e228f36aa)
  - registry_npm: https://registry.npmjs.org/snoowrap (fetched 2026-08-29T13:06:54.673140+00:00, sha 609d8f53dfde)
- Data as of 2026-08-30T08:39:29.467469+00:00.
