Socket
Socket
Sign inDemoInstall

react-native-gfycat-export

Package Overview
Dependencies
92
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-gfycat-export

React Native library which allows you to export the gif and mp4 file.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
9.37 MB
Created
Weekly downloads
 

Readme

Source

React Native: react-native-gfycat-export

GitHub package version github home platforms github home npm

github issues github closed issues Issue Stats github license

📖 Getting started

$ npm install react-native-gfycat-export --save

💻 Usage

import * as React from 'react';
import { View } from 'react-native';
import { GfResolve } from 'react-native-gfycat-export';

let url = 'https://gfycat.com/clumsyfloweryamericancrayfish-happy-pcmasterrace-smile-joy';

export default class App extends React.Component {
  componentDidMount() {
    GfResolve(url, 3)
      .then(r => console.log('Result:', r))
      .catch(error => {
        console.error('Error:', error);
      });
  }
  render() { return null; }
}

💡 Props

PropTypeDefaultNote
urlstringUrl of the file to be exported.
typenumber3File format to export.
Type
  1. -small.gif
  2. -max-1mb.gif
  3. -size_restricted.gif
  4. -mobile.mp4

📜 License

This library is provided under the Apache License.

Keywords

FAQs

Last updated on 14 Jun 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc