Socket
Socket
Sign inDemoInstall

@types/content-range

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/content-range


Version published
Maintainers
1
Install size
3.38 kB
Created

Readme

Source

Installation

npm install --save @types/content-range

Summary

This package contains type definitions for content-range (https://github.com/neoziro/content-range).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/content-range.

index.d.ts

export interface ContentRangeFormatOptions {
    first?: number | undefined;
    last?: number | undefined;
    length: number | null;
    limit?: number | undefined;
    unit: string;
}

export interface ContentRangeParts {
    first: number | null;
    last: number | null;
    length: number | null;
    unit: string;
}

export function format(options: ContentRangeFormatOptions): string;
export function parse(str: string): ContentRangeParts | null;

Additional Details

  • Last updated: Mon, 06 Nov 2023 22:41:05 GMT
  • Dependencies: none

Credits

These definitions were written by Alex Brick.

FAQs

Last updated on 07 Nov 2023

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc