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

easings

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

easings

CSS easings as CSS vars

latest
Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
361
43.82%
Maintainers
1
Weekly downloads
 
Created
Source

Easings

NPM version Build status Test coverage Dependency Status License Downloads Gittip

rework-ease, except without the rework dependency and it is intended to be used as CSS variables. For more information on easings, go to http://easings.net.

API

var easings = require('easings')

css = easings(css)

Replace all the var(<ease>) variable references with the actual easing function. Note that this is a really simple regexp-replace.

easings('transition: var(ease-in-back);')
// => 'transition: cubic-bezier(0.600, -0.280, 0.735, 0.045);'

easings.css

Since this library uses the CSS Variables specifications, easings.css is simply the :root object you would use to define all these easings. Thus, you'll eventually be able to do just append easings.css to your build and do var(ease-in-cubic). This is also available as /index.css.

@import 'https://nlz.io/github/reworkcss/easings/1/index.css';

body {
  transition: all var(ease-in-back);
}

easings.map

Map of <name>: <value> for all the easings.

Keywords

css

FAQs

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