typespec-fast-check
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

typespec-fast-check

A TypeSpec emitter for fast-check arbitraries.

Install

$ npm i typespec-fast-check

Usage

Via the command line:

tsp compile . --emit=typespec-fast-check

Via the config:

emit:
  - 'typespec-fast-check'

See the TypeSpec documentation for more information.

[!NOTE]

This package doesn't support all TypeSpec features yet. See the open issues for what's planned.

Examples

See openai-arbitraries.js which was generated from the TypeSpec files in Brian Terlson's openai-in-typespec repository.

Contributing

Stars are always welcome!

For bugs and feature requests, please create an issue.

License

MIT © Stainless Software, Inc.

Package Sidebar

Install

npm i typespec-fast-check

Weekly Downloads

2

Version

0.2.1

License

MIT

Unpacked Size

449 kB

Total Files

8

Last publish

Collaborators

  • tomeraberbach