css-transforms

A tiny library for for dynamically animating DOM elements using CSS transforms.

npm install css-transforms
1 downloads in the last week
4 downloads in the last month

css-transforms.js

Build status

A tiny JavaScript library for dynamically animating DOM elements using CSS transforms.

The library is currently extreme alpha. If you just found it, it's probably not what you're looking for (yet).

Installation

Via NPM

npm install css-transforms

Via Jam

jam install css-transforms

Via Git

git clone git@github.com:philbooth/css-transforms.js.git

Usage

Loading the library

Via CommonJS

var transforms = require('css-transforms');

Via AMD

require('css-transforms', function (transforms) { });

Globally

<script type="text/javascript" src="css-transforms.min.js"></script>

Development

Dependencies

The build environment relies on Node.js, NPM, Jake, JSHint, Mocha, Chai and UglifyJS. Assuming that you already have Node.js and NPM set up, you just need to run npm install to install all of the dependencies as listed in package.json.

Unit tests

The unit tests are in test/css-transforms.js. You can run them with the command npm test or jake test.

npm loves you