|
4 | 4 |
|
5 | 5 | [![Node unit CI][ff_node_unit_img]][ff_node_unit_link] [![Node lint CI][ff_node_lint_img]][ff_node_lint_link] |
6 | 6 |
|
7 | | -> This is OpenFunction's nodejs functions-framework forked from [GCP functions-framework-nodejs](https://github.com/GoogleCloudPlatform/functions-framework-nodejs) |
| 7 | + |
| 8 | + |
| 9 | +--- |
| 10 | + |
| 11 | +> This is OpenFunction's Node.js Functions Framework forked from [GCP functions-framework-nodejs](https://github.com/GoogleCloudPlatform/functions-framework-nodejs). |
8 | 12 |
|
9 | 13 | An open source FaaS (Function as a Service) framework based on [Express](https://expressjs.com/) |
10 | 14 | and [Restana](https://github.com/BackendStack21/restana) for writing portable sync and async Node.js functions. |
11 | 15 |
|
12 | | -The Functions Framework lets you write lightweight functions that run in many |
13 | | -different environments, including: |
| 16 | +The Functions Framework lets you write lightweight functions that run in many different environments, including: |
14 | 17 |
|
15 | 18 | * [OpenFunction](https://github.com/OpenFunction/OpenFunction) |
16 | 19 | * [Knative](https://github.com/knative/)-based environments |
@@ -101,8 +104,7 @@ npm install @openfunction/functions-framework |
101 | 104 | npm install @openfunction/functions-framework |
102 | 105 | ``` |
103 | 106 |
|
104 | | -1. Add a `start` script to `package.json`, with configuration passed via |
105 | | -command-line arguments: |
| 107 | +1. Add a `start` script to `package.json`, with configuration passed via command-line arguments: |
106 | 108 |
|
107 | 109 | ```js |
108 | 110 | "scripts": { |
@@ -160,9 +162,7 @@ command-line arguments: |
160 | 162 |
|
161 | 163 | ## Configure the Functions Framework |
162 | 164 |
|
163 | | -You can configure the Functions Framework using command-line flags or |
164 | | -environment variables. If you specify both, the environment variable will be |
165 | | -ignored. |
| 165 | +You can configure the Functions Framework using command-line flags or environment variables. If you specify both, the environment variable will be ignored. |
166 | 166 |
|
167 | 167 | | Command-line flag | Environment variable | Description | |
168 | 168 | | ------------------ | ------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
@@ -281,8 +281,7 @@ More advanced guides and docs can be found in the [`docs/` folder](docs/). |
281 | 281 |
|
282 | 282 | ## Contributing |
283 | 283 |
|
284 | | -Contributions to this library are welcome and encouraged. See |
285 | | -[CONTRIBUTING](CONTRIBUTING.md) for more information on how to get started. |
| 284 | +Contributions to this library are welcome and encouraged. See [CONTRIBUTING](CONTRIBUTING.md) for more information on how to get started. |
286 | 285 |
|
287 | 286 | [ff_node_unit_img]: https://github.com/openfunction/functions-framework-nodejs/workflows/Node.js%20Unit%20CI/badge.svg |
288 | 287 | [ff_node_unit_link]: https://github.com/openfunction/functions-framework-nodejs/actions?query=workflow%3A"Node.js+Unit+CI" |
|
0 commit comments