{"name":"css-animation","description":"css-animation","version":"2.0.4","license":"MIT","pika":true,"sideEffects":false,"keywords":["css-animation"],"homepage":"http://github.com/yiminghe/css-animation","bugs":{"url":"http://github.com/yiminghe/css-animation/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/yiminghe/css-animation.git"},"dependencies":{},"devDependencies":{"@pika/plugin-build-node":"0.6.x","@pika/plugin-build-types":"0.6.x","@pika/plugin-standard-pkg":"0.6.x","@pika/types":"0.6.x","@storybook/react":"^5.1.9","@storybook/storybook-deployer":"^2.8.1","babel-loader":"^8.0.6","lint-staged":"^9.2.1","pika-plugin-build-web-babel":"0.6.x","pika-plugin-clean-dist-src":"^0.1.1","pre-commit":"1.x","prettier":"^1.18.2","react":"16.x","react-dom":"16.x"},"module":"dist-web/index.js","main":"dist-node/index.js","_id":"css-animation@2.0.4","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-+9mkyHUErYKLf+bhn3jZU6JwiyURZwdqZGnf+MaxifNTDGPvkK1h1OiVCerw0DnRJWw+2bxgeaQhrij7NFjaRQ==","shasum":"5d0b0b713dbb1c4299c45b2fcf408357dff988e4","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-2.0.4.tgz","fileCount":7,"unpackedSize":75225,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXjqKCRA9TVsSAnZWagAAxKYP/j/v8cha2BDeWoQcS+yG\n0GFlwhS6vkyeOKUMzcisFDdAhbrw38PKQVYfewDpKms5cBhkY324XG7zEVEI\nsMMUXrDkKak3Wxs670HUtIRFHarPAqjArZu3go6TC4tQWPny28p5LWi8fOUl\noi9oYU6nWH3VWF9xduUTSC95E3h52QZ6JV1ifSQ2EfCwdeATuJKsLzxCDrua\ns17gIqgnCfLB0wKf6phMLneON40Oo3k6bofG2Jd0sBy73bEfxweeb0ozqi1z\ntvgmw1DUJXMs4BpjD/7TUPNaOxM/FihQ4eX51dW6puYKN2ntOrVdlboN4qQi\nHg04Z6OWtgqUq5N8lECd5eO/mPGDLf94C5a5IBq/9pBRslCFkweCOB5T8IOj\nGUz89c37LTfa9AVTCIg0kQxUsrmkiGcLH32bhLS4G7+abzTcqHizHus8hc05\nbRD9Ut1IG9APwHmdnzUZ376x4N9fdKRvjoLlhzt9MHh+XRF/KuBptz35euEC\nIKcd7/IlYU99dWzmuoazzwUKrhD2VYJU88jkCeBKiaakoBznLqlnnF5H06ch\nfCOInR5BvaHsw4PWYQE8V9s1DPatdmlgP3TBOPkeVkONoLDJrYsrx+7/NvGl\ndBCmAROKgrJ2xllUBqs3jTbSpV58YVm0KsGppA6a8KcErNtrkisbxGGnONnT\n9NTk\r\n=W8pZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAZR4qi4oFyaOQY/1LcS6c1u4aoHfNK4SVzXFK6pHMtMAiB/LLuly2EuJ/kotHxsbXouQvUaNnT2d155o70UDAerhA=="}],"size":17482,"noattachment":false,"key":"/css-animation/-/css-animation-2.0.4.tgz"},"maintainers":[{"name":"yiminghe","email":"yiminghe@gmail.com"}],"_npmUser":{"name":"yiminghe","email":"yiminghe@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/css-animation_2.0.4_1566456457262_0.8891314523197518"},"_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":1566456457573,"_cnpm_publish_time":1566456457573,"dist-tags":{"latest":"2.0.4"}}