Socket
Socket
Sign inDemoInstall

rekapi

Package Overview
Dependencies
3
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rekapi

A keyframe animation library for JavaScript


Version published
Weekly downloads
166
Maintainers
1
Install size
4.43 MB
Created
Weekly downloads
 

Readme

Source

Rekapi - Keyframes for JavaScript

Rekapi is a keyframe animation library for JavaScript. It gives you an API for:

  • Defining keyframe-based animations
  • Controlling animation playback

Rekapi is renderer-agnostic. At its core, Rekapi does not perform any rendering. However, it does expose an API for defining renderers, and comes bundled with renderers for the HTML DOM and HTML5 2D <canvas>.

Browser compatibility

Rekapi officially supports Evergreen browsers.

Installation

npm install --save rekapi

Developing Rekapi

First, install the dependencies via npm like so:

npm install

Once those are installed, you can generate dist/rekapi.js with:

npm run build

To run the tests in CLI:

npm test

To generate the documentation (dist/doc):

npm run doc

To generate, live-update, and view the documentation in your browser:

npm run doc:live

To start a development server:

npm start

Once that's running, you can run the tests at http://localhost:9010/test/ and view the documentation at http://localhost:9010/dist/doc/.

Loading Rekapi

Rekapi exposes a UMD module, so you can load it however you like:

// ES6
import { Rekapi, Actor } from 'rekapi';

Or:

// AMD
define(['rekapi'], rekapi => { });

Or even:

// CommonJS
const rekapi = require('rekapi');

Contributors

Take a peek at the Network page to see all of the Rekapi contributors.

License

Rekapi is distributed under the MIT license. You are encouraged to use and modify the code to suit your needs, as well as redistribute it.

FAQs

Last updated on 31 Dec 2017

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