open-index/open-npm huggingface dataset:
npm package: @mswjs/source
Description: Generate MSW request handlers from OpenAPI documents, HAR files, and other sources.
Author: Artem Zakharchenko
Latest version: 0.5.0
Deprecated: This package is renamed to . It will no longer receive any updates. Please migrate to the new package name. Thank you.

<p align="center">
  <img src="media/source-logo.svg" width="100" alt="Source logo" />
</p>

<h1 align="center">Source</h1>

<p align="center">Generate <a href="https://github.com/mswjs/msw">MSW</a> request handlers from HAR files, OpenAPI documents, and other sources.</p>

## Motivation

This library has been created to simplify the mocking workflow when working with Mock Service Worker.

> [Learn more about the motivation behind Source](https://source.mswjs.io/docs/).

## Documentation

- [**Getting started**](https://source.mswjs.io/docs/getting-started)
- [Using network archives (HAR)](https://source.mswjs.io/docs/integrations/har)
- [Using OpenAPI (Swagger) documents](https://source.mswjs.io/docs/integrations/open-api)

## Support the project

If you find this project helpful, please consider becoming our [GitHub sponsor](https://github.com/sponsors/mswjs). Your contributions help us maintain and develop new open-source libraries to help the entire ecosystem with testing. Thank you!

## Special thanks

- [Weyert de Boer](https://github.com/weyert) for the original implementation of [`@tapico/msw-webarchive`](https://github.com/Tapico/tapico-msw-webarchive).