Skip to content

Commit

Permalink
docs: add note about AWS Lambda layer (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivamJoker committed Apr 20, 2023
1 parent 6ccdbcc commit 8818c05
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ All Apple M chips on **macOS**.

Since Skia relies on the [glibc](https://www.gnu.org/software/libc/) 2.18 API, you need to have at least glibc version >= 2.18 on your system.

## AWS Lambda usage
To use this library on Lambda you will need to use a Lambda layer.

You can simply attach a lambda layer by getting an ARN from [Canvas-Lambda-Layer](https://github.com/ShivamJoker/Canvas-Lambda-Layer)

> Make sure to exclude `@napi-rs/canvas` while bundling your Lambda.
# Usage

```js
Expand Down

0 comments on commit 8818c05

Please sign in to comment.