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

annie

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

annie

A super tiny library for authoring cross-browser animations

  • 0.1.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

annie

A super tiny library for authoring cross-browser animations.

huh?

Annie returns the following information:

> annie
{
	ie: Number|false				// internet explorer version (or false)
	vendor: String					// webkit, moz, ie, or o
	requestAnimationFrame: Function	// requestAnimationFrame, polyfilled if necessary
	cancelAnimationFrame: Function	// cancelAnimationFrame, polyfilled if necessary
	transform: String|undefined		// CSS transform property, if supported
	3d: Boolean						// Whether or not browser supports 3D CSS transforms
	performance: Boolean			// browser supports window.performance
}

sample output

modern browsers

browserplatformvendorieperformancetransform3d
chrome 29osxWebkitfalsetrueWebkitTransformtrue
firefox 23osxMozfalsetrueMozTransformtrue
internet explorer 10windowsms10truemsTransformtrue
opera 16osxWebkitfalsetrueWebkitTransformtrue
safari 6iosWebkitfalsefalseWebkitTransformtrue
safari 6iosWebkitfalsefalseWebkitTransformtrue
safari 6osxWebkitfalsefalseWebkitTransformtrue

legacy browsers

browserplatformvendorieperformancetransform3d
firefox 12windowsMozfalsefalseMozTransformtrue
firefox 10windowsMozfalsefalseMozTransformtrue
firefox 8windowsMozfalsefalseMozTransformfalse
internet explorer 9windowsms9falsemsTransformfalse
internet explorer 8windowsms8falseundefinedfalse
internet explorer 7windowsms7falseundefinedfalse
opera 11windowsOfalsefalseOTransformfalse
safari 5windowsWebkitfalsefalseWebkitTransformtrue

why not modernizr?

Annie:

  • contains an efficiently authored subset of Modernizr's functionality
  • is geared towards animation and DOM effects

Modernizr:

  • is a hefty ~15kb, big for the functionality it offers
  • is overkill for most projects

Keywords

FAQs

Package last updated on 15 Sep 2013

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