Skip to content

Commit

Permalink
chore(docs): fix library name typo (#7084)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriscbr authored Sep 6, 2024
1 parent 07e2faf commit 90a8077
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/docs/04-winglibs/02-using-winglibs.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ keywords: [Wing reference, Wing libraries, libraries, packaging, packages]

Wing libraries ([winglibs](https://github.com/winglang/winglibs)) can be installed using the npm command line tool.

Here is an example of installing the [wing-redis winglib](https://github.com/winglang/winglibs/tree/main/redis).
Here is an example of installing the [redis winglib](https://github.com/winglang/winglibs/tree/main/redis).

```
npm i wing-redis
npm i @winglibs/redis
```

Then in your Wing source code, the library can be imported by name using a `bring` statement:

```js
bring "wing-redis" as redis;
bring "@winglibs/redis" as redis;

new redis.Redis();
```
Expand Down

0 comments on commit 90a8077

Please sign in to comment.