css-transforms

0.1.0 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i css-transforms

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • philbooth