5.2.0 • Published 8 months ago

@giphy/js-util v5.2.0

Weekly downloads
13,552
License
MIT
Repository
-
Last release
8 months ago

@giphy/js-util

More coming soon:

getAltText - get the alt text we display for gifs

bestfit - finds image rendition that best fits a given width and height

getBestRendition - get the best rendition object based on a width and height (uses bestfit)

getBestVideo - get the best video rendition object based on a width and height (uses bestfit)

getBestRenditionUrl - get the best rendition url based on a width and height, also factors in webp availability and if you're using video (uses getBestRendition)

getGifHeight - quick way to get the height for a gif based on a provided width

getGifWidth - quick way to get the width for a gif based on a provided height

getSpecificRendition - get a specific rendition but factor in webp, sticker and video

collections (lodash replacements)

  • mapValues (map for objects)
  • take
  • forEach (forEach for objects)
  • without
  • pick
5.2.0

8 months ago

5.1.0

1 year ago

5.1.0-charlie.0

1 year ago

5.1.0-beta.1

1 year ago

5.1.0-beta.0

1 year ago

5.0.0

2 years ago

4.4.1

2 years ago

4.4.0

2 years ago

4.4.2

2 years ago

4.3.1-alpha.0

2 years ago

4.2.0

3 years ago

4.3.0

3 years ago

4.1.1

3 years ago

4.1.0

3 years ago

4.0.1

4 years ago

4.0.0

4 years ago

3.1.2

4 years ago

3.1.1

4 years ago

3.1.0

4 years ago

2.3.1-alpha.0

4 years ago

3.0.0

4 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.1

4 years ago

2.1.0

4 years ago

1.10.0

4 years ago

2.0.0

5 years ago

2.0.0-alpha.0

5 years ago

1.9.2

5 years ago

1.9.1

5 years ago

1.9.0

5 years ago

1.8.4

5 years ago

1.8.3

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.1

5 years ago

1.7.0

5 years ago

1.6.0

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago