offstage
TypeScript icon, indicating that this package has built-in type declarations

4.6.1 • Public • Published

TypeScript HTTP Client for faster development and testing

Offstage is a HTTP request library, with a focus on mocking and testing.

You define your mock data once, Offstage then allows you to:

  • Click through your app without a backend
  • Playwright test the production build
  • Verify backend compatibility by auto generating Pact files

Breaking

  • From now on defaults to network mode

Infographic!

Highlights

  • 🚀 Easily define a TypeScript Request API
  • ⚡️ Mock data for development (stripped out of production build)
  • 🎭 Same mock data for Playwright (to test the production build)
  • 🦄 Override mock data (for testing specific scenarios)
  • 🤝 Automatic Pact tests (to verify compatability) (experimental)
  • 🔥 Small footprint (adds less than 5kb to your production build)

Read more and get started on github!

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
4.6.13latest
4.0.0-beta.80beta

Version History

VersionDownloads (Last 7 Days)Published
4.6.13
4.6.01
4.5.51
4.5.40
4.5.32
4.5.21
4.5.10
4.5.01
4.4.21
4.4.155
4.4.01
4.3.01
4.2.23
4.2.111
4.2.00
4.1.10
4.1.00
4.0.150
4.0.140
4.0.130
4.0.120
4.0.110
4.0.100
4.0.90
4.0.80
4.0.70
4.0.60
4.0.50
4.0.40
4.0.30
4.0.20
4.0.10
4.0.00
4.0.0-beta.80
4.0.0-beta.70
4.0.0-beta.60
4.0.0-beta.50
4.0.0-beta.40
4.0.0-beta.30
4.0.0-beta.20
4.0.0-beta.10
3.7.120
3.7.111
3.7.100
3.7.90
3.7.80
3.7.70
3.7.60
3.7.50
3.7.40
3.7.30
3.7.20
3.7.10
3.7.00
3.6.30
3.6.20
3.6.10
3.6.00
3.5.10
3.5.00
3.4.40
3.4.30
3.4.20
3.4.10
3.4.00
3.3.00
3.2.100
3.2.90
3.2.80
3.2.70
3.2.60
3.2.50
3.2.40
3.2.30
3.2.20
3.2.10
3.2.00
3.1.70
3.1.60
3.1.51
3.1.40
3.1.30
3.1.10
3.1.00
3.0.50
3.0.40
3.0.30
3.0.20
3.0.10
3.0.00
2.2.20
2.2.10
2.2.00
2.1.00
2.0.70
2.0.60
2.0.50
2.0.40
2.0.30
2.0.20
2.0.10
2.0.00
1.0.34
1.0.21
1.0.11
1.0.01
0.0.200
0.0.190
0.0.180
0.0.171
0.0.160
0.0.150
0.0.140
0.0.130
0.0.121
0.0.110
0.0.100
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i offstage

Weekly Downloads

8

Version

4.6.1

License

ISC

Unpacked Size

131 kB

Total Files

100

Last publish

Collaborators

  • livinglogicnl