New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

getcssstyle

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

getcssstyle

An optimized, cross-browser, high-performance, well-coded and lightweight CSS-Style Getter for JavaScript and Javascript-based animation/tweening engine that runs anywhere

latest
npmnpm
Version
0.0.4
Version published
Weekly downloads
11
450%
Maintainers
1
Weekly downloads
 
Created
Source

getCSSStyle

An optimized, cross-browser, high-performance, well-coded and lightweight CSS-Style Getter for JavaScript and Javascript-based animation/tweening engine that runs anywhere

size gzipsize CDNJS jsdelivr unpkg npmcdn NPM Version NPM Downloads
NPM

CDN

# unpkg
https://unpkg.com/getcsstyle

# npmcdn
https://npmcdn.com/getcsstyle

# jsDelivr
https://cdn.jsdelivr.net/npm/getcsstyle

Installing

$ npm install getcsstyle
# or
$ yarn add getcsstyle

Usage

var getcss = require('getcsstyle');
var computedcss = getcss.CSSComputedStyle;

var toAnimation = {width:'200px', height:'300px'};
var fromAnimation = computedcss(myElement, toAnimation) // {width:...,height:...};
// Returns value for specified properties

Methods

CSSComputedStyle

Like getComputedStyle, but cleaner API, better compatibility and transforms supported (actual non-matrix value returns)

CSSTransformOrigin

Returns origin and bounds of source

Prefix

Returns prefixed your property

Keywords

cross-browser

FAQs

Package last updated on 07 Sep 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