Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-animation.css-data

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-animation.css-data

Package that adds `@keyframes` from animate.css.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
60
increased by22.45%
Maintainers
1
Weekly downloads
 
Created
Source

postcss-animation.css-data

Autogenerated data for postcss-animations plugin. Parsed all @keyframes from animate.css.

Install

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

Use

const postcss           = require('postcss');
const postcssAnimations = require('postcss-animations');
const animationData     = require('postcss-animation.css-data');

const CSS = `
.jackInTheBox {
    animation-name: jackInTheBox;
}
`;

postcss(
    postcssAnimations({
        data: [animationData],
        checkDuplications: true,
        disableCheckCssVariables: true
    })
).process(CSS).then(({css}) => {
    console.log(css);
});
/*
.jackInTheBox {
    animation-name: jackInTheBox;
}
@keyframes jackInTheBox  {
    // ...
}
*/

Regenerate:

git clone https://github.com/retyui/postcss-animation.css-data
cd postcss-magic.css-data
npm install
npm run build

Other animation data:

Keywords

FAQs

Package last updated on 28 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc