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

@types/get-size

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/get-size

TypeScript definitions for get-size

  • 3.0.3
  • ts4.6
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.9K
decreased by-8.65%
Maintainers
1
Weekly downloads
 
Created
Source

Installation

npm install --save @types/get-size

Summary

This package contains type definitions for get-size (https://github.com/desandro/get-size).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/get-size.

index.d.ts

interface Size {
    width: number;
    height: number;

    innerWidth: number;
    innerHeight: number;
    outerWidth: number;
    outerHeight: number;

    paddingLeft: number;
    paddingRight: number;
    paddingTop: number;
    paddingBottom: number;

    marginLeft: number;
    marginRight: number;
    marginTop: number;
    marginBottom: number;

    borderLeftWidth: number;
    borderRightWidth: number;
    borderTopWidth: number;
    borderBottomWidth: number;
}

declare function getSize(element: string | Element): Size;

export = getSize;

Additional Details

  • Last updated: Wed, 07 Feb 2024 13:06:44 GMT
  • Dependencies: none

Credits

These definitions were written by Leon Si.

FAQs

Package last updated on 07 Feb 2024

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