{"name":"css-animation","version":"1.4.1","description":"css-animation","keywords":["css-animation"],"homepage":"http://github.com/yiminghe/css-animation","author":"","repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/css-animation.git"},"bugs":{"url":"http://github.com/yiminghe/css-animation/issues"},"license":"MIT","main":"./lib/index","module":"./es/index","files":["lib","es"],"config":{"port":9001,"entry":{"css-animation":["./src/index.js"]}},"scripts":{"dist":"rc-tools run dist --babel-runtime","build":"rc-tools run build","gh-pages":"rc-tools run gh-pages","start":"rc-tools run server","pub":"rc-tools run pub --babel-runtime","compile":"rc-tools run compile --babel-runtime","lint":"rc-tools run lint"},"devDependencies":{"expect.js":"0.3.x","pre-commit":"1.x","rc-tools":"6.x","react":"15.x","react-dom":"15.x"},"pre-commit":["lint"],"dependencies":{"babel-runtime":"6.x","component-classes":"^1.2.5"},"gitHead":"c40cd254bd1a37f3b42d9475de8fde4a93b738a8","_id":"css-animation@1.4.1","_shasum":"5b8813125de0fbbbb0bbe1b472ae84221469b7a8","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.11.2","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"dist":{"shasum":"5b8813125de0fbbbb0bbe1b472ae84221469b7a8","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-1.4.1.tgz","integrity":"sha512-/s/zHf8Bw7ny0H9ZdhcYxdhn6ixj4M+MRlSdpmENgcWf9ssOGLerTetBB8YWbINzLQX9xDJF9UIZu3AbLvTprw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDEImKRS8Qo8HUfPkn/lA2E+4h7BHro7VZswmoKqEGdUgIgJWOYHNgTMhB+2BbzD8DceFCfVcroJYEe+Lcr7dxj2eQ="}],"size":4216,"noattachment":false,"key":"/css-animation/-/css-animation-1.4.1.tgz"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-animation-1.4.1.tgz_1502879867876_0.20006710616871715"},"directories":{},"readme":"# css-animation\n---\n\nmake css animation easier\n\n[![NPM version][npm-image]][npm-url]\n\n[npm-image]: http://img.shields.io/npm/v/css-animation.svg?style=flat-square\n[npm-url]: http://npmjs.org/package/css-animation\n\n## Development\n\n```\nnpm install\nnpm start\n```\n\n## Example\n\nhttp://localhost:6006/\n\nonline example: http://yiminghe.github.io/css-animation/\n\n\n## Feature\n\n* support ie8,ie8+,chrome,firefox,safari\n\n## install\n\n[![css-animation](https://nodei.co/npm/css-animation.png)](https://npmjs.org/package/css-animation)\n\n## Usage\n\n```js\nimport anim from 'css-animation';\nanim(el,animationName,function(){});\n```\n\n## API\n\n### void anim(el:DOMElement, animationName:String, callback:Function)\n\n<table class=\"table table-bordered table-striped\">\n    <thead>\n    <tr>\n        <th style=\"width: 100px;\">name</th>\n        <th style=\"width: 50px;\">type</th>\n        <th style=\"width: 50px;\">default</th>\n        <th>description</th>\n    </tr>\n    </thead>\n    <tbody>\n        <tr>\n          <td>el</td>\n          <td>DOMElement</td>\n          <td></td>\n          <td>dom element to be animated</td>\n        </tr>\n        <tr>\n          <td>animationName</td>\n          <td>String|Object</td>\n          <td></td>\n          <td>will add animationName (if string) or animationName.name (if object) as class to el, then setTimeout 0 to add ${animationName}-active (if string) or animationName.active (if object) to el</td>\n        </tr>\n        <tr>\n          <td>callback</td>\n          <td>Function</td>\n          <td></td>\n          <td>triggered when anim caused by animationName is done</td>\n        </tr>\n    </tbody>\n</table>\n\n## License\n\ncss-animation is released under the MIT license.\n","publish_time":1502879868427,"_cnpm_publish_time":1502879868427,"dist-tags":{"latest":"2.0.4"}}