postcss-animation.css-data

1.1.0 • Public • Published

postcss-animation.css-data

Autogenerated data for postcss-animations plugin.

Parsed all @keyframes from magic.css.

Install

yarn add -D postcss-animation.css-data postcss-animations
# or npm i -D postcss-animation.css-data postcss-animations 

Use

const postcss = require("postcss");
const postcssAnimations = require("postcss-animations");
 
(async () => {
  const CSS = `.my-jackInTheBox { animation-name: jackInTheBox; }`;
  const PLUGINS = [
    postcssAnimations({
      data: [require("postcss-animation.css-data")],
      checkDuplications: true,
      disableCheckCssVariables: true
    })
  ];
 
  try {
    const { css, messages } = await postcss(PLUGINS).process(
      CSS /*, {from,to}*/
    );
    messages.map(msg => console.log(msg.toString()));
 
    console.log(css);
    /*
      .my-jackInTheBox { animation-name: jackInTheBox; }
      @keyframes jackInTheBox { }
    */
  } catch (e) {
    console.error(e);
  }
})();

Other animation data:

Update data:

git clone https://github.com/retyui/postcss-animation.css-data
cd postcss-animation.css-data
yarn
yarn build

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.0123latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.0123
1.0.20
1.0.10
1.0.00
0.1.40
0.1.30
0.1.20
0.1.10
0.1.00
0.0.90
0.0.80
0.0.70
0.0.60
0.0.50
0.0.40
0.0.30
0.0.20
0.0.10

Package Sidebar

Install

npm i postcss-animation.css-data

Weekly Downloads

58

Version

1.1.0

License

MIT

Unpacked Size

20.4 kB

Total Files

4

Last publish

Collaborators

  • retyui