aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorinoas <mail@inoas.com>2022-04-12 21:28:30 +0200
committerLouis Pilfold <louis@lpil.uk>2022-04-16 10:51:52 +0100
commit41c54703d6cbaa9dbd98e53986dec2ecf9755473 (patch)
treef25957134b4b08cb243562b0495d2bc63fa15494 /README.md
parentb92333888a8e66d6a577abbc0badeb7d11d7f56d (diff)
downloadgleam_stdlib-41c54703d6cbaa9dbd98e53986dec2ecf9755473.tar.gz
gleam_stdlib-41c54703d6cbaa9dbd98e53986dec2ecf9755473.zip
add notice about targets and compat
Diffstat (limited to 'README.md')
-rw-r--r--README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/README.md b/README.md
index 1b9dad0..9e4b7ee 100644
--- a/README.md
+++ b/README.md
@@ -32,3 +32,14 @@ fn more_usage() {
|> contains(any: 2)
}
```
+
+## Targets
+
+Gleam's standard library supports both targets: Erlang and Javascript.
+
+### Compatibility
+
+- For Erlang the minimum required OTP version is 22.
+- For NodeJS the minium required version is the oldest **Maintenance LTS** not marked as *end-of-life* as specified on <https://nodejs.org/en/about/releases/>.
+
+Most of the standard library will run on older versions, but there are no garantuees.