New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ianus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ianus

Provides browser-specific property and event names for CSS3 transition and animation. Won’t fail in environments that don’t have a DOM (like node.js).

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Ianus

In ancient Roman religion and myth, Janus (Latin: Ianus, pronounced [ˈjaː.nus]) is the god of beginnings and transitions, and thereby of gates, doors, doorways, passages and endings. (from Wikipedia)

Ianus provides names of CSS3 animation and transition properties to make cross-browser development easier.

In environments that don’t support animations, transitions or even a DOM, properties are simply undefined.

The provided names are:

  • transitionProperty
  • transitionDuration
  • transitionTimingFunction
  • transitionDelay
  • transition
  • transitionend – the name of the 'transitionend' event
  • css.transitionProperty – the CSS property name
  • css.transitionDuration
  • css.transitionTimingFunction
  • css.transitionDelay
  • css.transition

Build Status

Cross-browser testing is kindly provided by BrowserStack.

But this has been written before!

Indeed, but unfortunately I could not find an implementation that would run under node.js without throwing. Since I want to share view code between browser and server, I had to come up with my own solution.

Keywords

FAQs

Package last updated on 22 Sep 2014

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