Socket
Socket
Sign inDemoInstall

@ampproject/animations

Package Overview
Dependencies
0
Maintainers
8
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @ampproject/animations

JavaScript animation functions and helpers.


Version published
Weekly downloads
170
decreased by-24.44%
Maintainers
8
Install size
24.8 kB
Created
Weekly downloads
 

Readme

Source

Animations

Some JavaScript animation helpers.

  • Documentation

Image Transform

Transforms an image from one position/size to another. In addition to scaling up, this also supports changing the 'crop' of the image as defined by the object-fit CSS property.

Animation Test Helpers

Helps with writing tests for animations by pausing then and allowing control of the progress of animations on the page. You can pause an animation part way through and do a screenshot based test or simply validate the position or dimensions of elements.

Developing

Build

npm run build
npm run build-watch

Test

npm run test
npm run test-watch

Demos

To build, serve, and open a browser tab with the demos:

npm run demo

FAQs

Last updated on 15 Jan 2020

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