Socket
Socket
Sign inDemoInstall

@types/d3-ease

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/d3-ease

TypeScript definitions for D3JS d3-ease module


Version published
Maintainers
1
Created

What is @types/d3-ease?

The @types/d3-ease package provides TypeScript type definitions for d3-ease, a module in the D3 (Data-Driven Documents) library that supplies a collection of easing functions for smooth animations. These type definitions allow TypeScript developers to use d3-ease with the benefits of type checking and autocompletion.

What are @types/d3-ease's main functionalities?

Easing Functions

Provides type definitions for various easing functions such as linear, cubic, and bounce, which can be used to create smooth animations.

import * as d3Ease from 'd3-ease';

const linearEase = d3Ease.easeLinear(0.5);
const cubicInEase = d3Ease.easeCubicIn(0.5);
const bounceOutEase = d3Ease.easeBounceOut(0.5);

Custom Easing

Allows the creation of custom easing functions by adjusting the parameters of predefined easing functions, such as changing the exponent for polynomial easing.

import { easePolyInOut } from 'd3-ease';

const customEase = easePolyInOut.exponent(4)(0.5);

Other packages similar to @types/d3-ease

FAQs

Package last updated on 25 Jun 2021

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