Skip to content

Commit b7f930f

Browse files
committed
docs: mention that package works with lambda layer now
1 parent 037c1c2 commit b7f930f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

readme.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
55
Inspired by [chrome-aws-lambda](https://github.com/alixaxel/chrome-aws-lambda)
66

7-
✨ Also works in [Google Cloud Functions](https://cloud.google.com/functions/) as long as you select [Node.js 8 runtime](https://cloud.google.com/functions/docs/concepts/nodejs-8-runtime) <sub>(thanks to [ncruces](https://github.com/ncruces) [for the info](https://github.com/vladgolubev/aws-lambda-libreoffice/issues/28#issuecomment-427397121))</sub>
8-
97
:information_source: Compiled LibreOffice version: 6.1.0.0.alpha0
108

119
## Install
@@ -14,6 +12,9 @@ Inspired by [chrome-aws-lambda](https://github.com/alixaxel/chrome-aws-lambda)
1412
$ yarn add @shelf/aws-lambda-libreoffice
1513
```
1614

15+
**NOTE:** Since version 2.0.0 npm package no longer ships the 85 MB LibreOffice but relies upon [libreoffice-lambda-layer](https://github.com/shelfio/libreoffice-lambda-layer) instead.
16+
Follow the instructions on how to add a lambda layer in [that repo](https://github.com/shelfio/libreoffice-lambda-layer).
17+
1718
## Usage
1819

1920
```js
@@ -39,6 +40,7 @@ execSync(`${loBinary} ${defaultArgs.join(' ')} --convert-to pdf file.docx --outd
3940

4041
## See Also
4142

43+
- [libreoffice-lambda-layer](https://github.com/shelfio/libreoffice-lambda-layer)
4244
- [serverless-libreoffice](https://github.com/vladgolubev/serverless-libreoffice)
4345
- [aws-lambda-tesseract](https://github.com/shelfio/aws-lambda-tesseract)
4446
- [aws-lambda-brotli-unpacker](https://github.com/shelfio/aws-lambda-brotli-unpacker)

0 commit comments

Comments
 (0)