diff --git a/README.md b/README.md index d697ab5..bc526f2 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,12 @@ [![CI Build][ci-build-badge]][ci-build] +[![npm version][npm-version-badge]][npm-version] [ci-build]: https://github.com/connorjs/swapi-typespec/actions/workflows/ci-build.yml [ci-build-badge]: https://github.com/connorjs/swapi-typespec/actions/workflows/ci-build.yml/badge.svg +[npm-version]: https://www.npmjs.com/package/swapi-typespec +[npm-version-badge]: https://img.shields.io/npm/v/swapi-typespec @@ -19,7 +22,7 @@ I created this project to learn about TypeSpec through first-hand usage. Follow these steps to consume the generated Open API specification for SWAPI. -1. Install this package as a dependency +1. Install this package as a dependency. ```sh npm install -D swapi-typespec @@ -47,7 +50,5 @@ Use `npm run` to list all available scripts. The `release` script executes a - Using `@resource` adds _all_ REST operations. Thus, the spec files explicitly configure `list` and `read` operations because SWAPI only supports those. ---- - [swapi]: https://swapi.dev [typespec]: https://microsoft.github.io/typespec/