Trust REST

JSON →
library 2.1.0 ·javascript
verified Jun 7, 2026

Trust REST is a REST API testing library for Node.js (v2.1.0) that simplifies integration testing of RESTful services with a declarative API. Released under the MIT license, it provides a fluent interface for making HTTP requests and asserting responses, including support for JSON, headers, status codes, and body validation. Compared to alternatives like supertest, trust-rest focuses on lightweight syntax and minimal configuration. The library is stable with infrequent releases, primarily driven by bug fixes and minor feature additions. It supports both CommonJS and ES module systems, but users must ensure proper require/import usage to avoid runtime errors.