• Stars
    star
    148
  • Rank 249,983 (Top 5 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 6 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Official GIPHY packages

GIPHY for developers

The GIPHY SDKs let you and your users easily access the world’s largest GIF library anywhere on your website. Whether it’s via a comment, forum post, review, chatbot or messenger, adding GIFs to your product is a simple and easy way to boost engagement and user experience.

GIPHY-JS SDKs

Build Status

Choose your flavor!

@giphy/react-components

React components focused on ease-of-use and performance

@giphy/js-components

lightweight UI components, no framework required

@giphy/js-fetch-api

fetch gifs, stickers, categories and more (build your own UI, no SDK analytics)

Now go build something!

Go do it

GIPHY-JS Developer Section

Install

$ yarn

Dev

Some packages have

$ cd packages/components
$ yarn run dev

Lint

From root of project:

$ yarn run lint

Publishing

Publishing to npm will be done by the changeset github action.

In your pr you will create a changeset by using the changest cli. Readmore here

$ yarn changeset

Follow the prompts to specify the semver and describe the changes you've made. This will create a changeset file which should be committed. Once you have your changeset ready and the PR is approved, you can merge your PR to master.

The github actions will run and create another PR based on your changeset. When this PR is approved and merged, the Publish github action will run and the packages will be published.

If you're not ready to publish your changeset, you don't have to merge the changeset PR