# danwrong/restler

REST client library for node.js

Repository: https://github.com/danwrong/restler
Canonical: https://ross.abutalabs.com/products/restler
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2019-07-10T11:40:53+00:00

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

## Adoption (not part of the score)
Stars 1977, forks 380 (observed 2026-08-28T04:06:01.449199+00:00)

## What it is
Restler is an HTTP client library for Node.js that simplifies making REST API requests by hiding the complexity of http.Client. It provides automatic serialization of request data, deserialization of JSON/XML/YAML responses, redirect following, multipart file uploads, and an event-based API.

## Use cases
- make HTTP requests to REST APIs from node.js
- consume JSON APIs with automatic deserialization
- upload files via multipart requests
- call APIs with basic auth credentials
- handle gzip-encoded HTTP responses
- build a wrapper library around a REST API

## When to choose
- you need a simple, lightweight REST client for a legacy Node.js project
- you want automatic JSON/XML/YAML response parsing without extra code
- you prefer an event-emitter style API over promises

## When to avoid
- you are starting a new project and want promise/async-await based clients like axios, got, or fetch
- you need active maintenance and modern Node.js features
- you need advanced features like interceptors, retries, or streaming

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, serialization
- domain: web-development, apis, backend
- platform: -
- tags: rest-client, http, event-based, multipart, -xml-yaml, nodejs

## Member repositories
- danwrong/restler (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:01.449199+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-30T03:04:46.905902+00:00, confidence not recorded.
  - readme: https://github.com/danwrong/restler (fetched 2026-08-28T04:06:01.449199+00:00, sha 8c9e4d23e287)
  - registry_npm: https://registry.npmjs.org/restler (fetched 2026-08-29T10:44:06.700173+00:00, sha 83dc0e8b4dc9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
