Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-simple-twitter

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-simple-twitter - npm Package Compare versions

Comparing version 1.0.3 to 1.1.0

src/lib.js

4

example/package.json

@@ -15,3 +15,3 @@ {

"react-native": "https://github.com/expo/react-native/archive/sdk-24.0.0.tar.gz",
"react-native-simple-twitter": "^1.0.1",
"react-native-simple-twitter": "^1.1.0",
"react-navigation": "^1.0.0-beta.21",

@@ -24,2 +24,2 @@ "react-redux": "^5.0.6",

}
}
}

@@ -13,3 +13,3 @@ import React from 'react'

/* import twitter */
import twitter, { TWLoginButton } from 'react-native-simple-twitter'
import twitter, { TWLoginButton, decodeHTMLEntities } from 'react-native-simple-twitter'

@@ -38,2 +38,4 @@ @connect(

}
console.log(decodeHTMLEntities("& ' ' / ' / < >   ""))
}

@@ -40,0 +42,0 @@

@@ -0,4 +1,9 @@

/* client */
import Client from './src/client';
export default Client;
export default Client;
export TWLoginButton from './src/button';
/* components */
export TWLoginButton from './src/button';
/* other */
export { decodeHTMLEntities } from './src/lib';
{
"name": "react-native-simple-twitter",
"version": "1.0.3",
"version": "1.1.0",
"description": "Twitter API client for React Native",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -209,2 +209,13 @@ # React-Native-Simple-Twitter

* `twitter.get(endpoint,parameters)` - call twitter get api.
* `twitter.post(endpoint,parameters)` - call twitter post api.
* `twitter.post(endpoint,parameters)` - call twitter post api.
## Other API
* decodeHTMLEntities
```js
import { decodeHTMLEntities } from 'react-native-simple-twitter'
console.log(decodeHTMLEntities("& ' ' / ' / < >   ""))
```
Tweet is include htmlencoded characters.
So this function decode special characters.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc