A port of cloudscraper to React Native
npm install react-native-cloudscraperThis library is a port of cloudscraper for react native with some minor changes.
bash
npm install react-native-cloudscraper --save
`
`bash
react-native link react-native-cloudscraper
``bash
yarn add react-native-cloudscraper
`Usage
`javascript
import * as cloudscraper from "react-native-cloudscraper"cloudscraper.get("http://example.com")
.then((res) => {
// do some stuff
});
cloudscraper.post("http://example.com", {body: "This is a request body"})
.then((res) => {
// do some stuff
})
`Docs
Fetch Documentation (this is where the options and response object come from)
Testing
Clone this repo, npm install and then npm test`