{"name":"css-animation","version":"1.5.0","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","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":"c12650202630b7bbd7d224119387ba50da3fb098","_id":"css-animation@1.5.0","_npmVersion":"6.4.1","_nodeVersion":"8.12.0","_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"dist":{"integrity":"sha512-hWYoWiOZ7Vr20etzLh3kpWgtC454tW5vn4I6rLANDgpzNSkO7UfOqyCEeaoBSG9CYWQpRkFWTWbWW8o3uZrNLw==","shasum":"c96b9097a5ef74a7be8480b45cc44e4ec6ca2bf5","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-1.5.0.tgz","fileCount":8,"unpackedSize":21163,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6O8fCRA9TVsSAnZWagAAEZgP/04Fx6c55lWdcdWNdc2V\nvLMOjCGYQS9qfDb8mF+uHFUfrvyVXLpjeDixgFBxW6yLdAXVjz8/bLvysbqa\nyoejdm6VAwcM1tN+z+nWhivIEebGUPbmaSJBxyeH8/owzOVzpRipqoHtbDeG\n1QyLOzWLUfo5RHv2cowVzYys6u+MVooRJyy5+mKxh4f9Ahx+nNigWsrTQptX\nkB7qWtUrz9Snoqch0MD9LEVIrv9sf/y1wgXkqWKFxTLGpylbi/ZOVxEj9NUN\n1DBFH6jQwn0mxR4DGasEW2PruBqqzz2tZ8KNJ9gAIVCoBuwQ+Eox8Gpe6kbm\nvtLf2w3tFudspt/uCU+6HByMEbKdbKKA0RSHwoPfMFkO1hAucfAfMHsWAStz\nfOp7hKLyBwM9m8JFCPjD8jaaUICTej9mfkT6tcGkLmKizjRNPXiOGRCdKzY+\nCT8MaTTE486IOCBbGqSqfcRF8S/Hke85XSe0arX6937oG5yuzjgOv++TXVOv\nnWVxvE1h0K0qmOQlTqIhRGw0KUOpio0RX8N2YGGHcaQWlflKOyYlfeXoE+kd\nmXIttTvQfk8+FicW2h66lDHEi0tNTaLCCOHk3LWGPDVQ/5dUPwrsx8A/ALnN\nrzlXqHglJJoc4Crj24KvtXuc8LCSjS+5g0XZl3FXNurLQJIFpGYD0hI0UTFM\n6Spa\r\n=jhL7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYvMyD2sy39kO66uPnmC0rjvwgzTRqk7p9ozzjKLuVqAiA8dKluexSDRHZDbvpXX/5gNNNBTFRfduXxrMcsku0GGQ=="}],"size":4416,"noattachment":false,"key":"/css-animation/-/css-animation-1.5.0.tgz"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-animation_1.5.0_1541992222964_0.7231275127154302"},"_hasShrinkwrap":false,"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":1541992223240,"_cnpm_publish_time":1541992223240,"dist-tags":{"latest":"2.0.4"}}