From 6d9ffeda94b122e55e1c966edfced176f8a79c25 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Mon, 25 Jun 2018 13:12:14 +0200 Subject: [PATCH] readme: how to use with react-native :memo: Hopefully prevents situations like in #56 in the future. https://github.com/public-transport/hafas-client/issues/56#issuecomment-399915315 --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index 2f1c5ab6..8467b3b2 100644 --- a/readme.md +++ b/readme.md @@ -30,6 +30,10 @@ There's [a company called HaCon](http://hacon.de) that sells [a public transport npm install hafas-client ``` +### with [react-native](https://facebook.github.io/react-native/) + +`hafas-client` as well its dependencies use [Node-builtin modules](https://nodejs.org/dist/latest/docs/api/) and [Node globals](https://nodejs.org/api/globals.html). To be able to use it within react-native, follow [the instructions at `node-libs-react-native`](https://github.com/parshap/node-libs-react-native/blob/master/README.md#usage). + ## API