{"name":"css-animation","version":"1.6.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","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"},"_id":"css-animation@1.6.1","_nodeVersion":"10.15.0","_npmVersion":"6.9.0","dist":{"integrity":"sha512-/48+/BaEaHRY6kNQ2OIPzKf9A6g8WjZYjhiNDNuIVbsm5tXCGIAsHDjB4Xu1C4vXJtUWZo26O68OQkDpNBaPog==","shasum":"162064a3b0d51f958b7ff37b3d6d4de18e17039e","tarball":"http://registry-npm.ywwl.com/css-animation/download/css-animation-1.6.1.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\nwsFcBAEBCAAQBQJdPaqGCRA9TVsSAnZWagAACXUP/3Mu8qxH1gtuESxu6TF0\nGr+0zcGCQ7Nh3nE4dl0xJXhDro5kv7E83mPy6W1bLMg5PgfHGfz1TT9hJ69v\nOxYcv60rUz7ic9RgTn3+MyKOmBGRZWNaD4L5+vUuFPTwM6pXQU965KvLNilJ\nsFMoiQqYYdXPblQw1gi88jbxzTBU8SEAaK8tGph2xOcXKQvR9+mvjnAuyFQh\nLLWJks6Quxof1I8bDbe8AUQ8pqYF+hI9OxBuZb1uwYJPyhngYjR0coSHNiaJ\nV5EVBlivsB0FgWdT034Pmg4E/gdZn8eZHrJBlPKy3IHsu8x1NbtxioKR54Iu\nufxk9Kko+f/M8pMupa3ziSGnnAXKvn4NNmKyi5fSkF1tqNuvqgrwUAav7Rh9\nfJr5lzRMPA1KRmjSu4LZfUPi69QTpPs1Y0YmxLYM4XoOzllG+PINOHO42Jzh\nViWj/fRv1EzQE0mnU4sFtAQVCK7prLW83w5KljhcTIgU9A//aUTNbHzum6aa\n9aFXuukzCWc1H0a3gDoaL8ztZvi7Xdm1WoNfucvLCvDPSlr6c9OxPNbRtP0u\n1O8XfQU1teRNgz/z4CtwThsANZgsMVQJV9uJ4TOWO2cwOCu6g8jA7wT1ac/O\n5fU7Ccckrom0DK+K1FxcnLeW83vqzSe7v2RKexoIrLJm6TSCzfsVM/xG33eO\nlWpk\r\n=vv6U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMf5wPBSXpymmIge4x+D0nctuJkv4LYGdHkfuSESqaFwIgfJfcu/PLFDU6QczocwTNfSDoDUa7qaBJsAM+cCg8Hgs="}],"size":4418,"noattachment":false,"key":"/css-animation/-/css-animation-1.6.1.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_1.6.1_1564322437941_0.4008560993423951"},"_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":1564322438190,"_cnpm_publish_time":1564322438190,"dist-tags":{"latest":"2.0.4"}}