Gathering detailed insights and metrics for @types/lozad
Gathering detailed insights and metrics for @types/lozad
Gathering detailed insights and metrics for @types/lozad
Gathering detailed insights and metrics for @types/lozad
The repository for high quality TypeScript type definitions.
npm install @types/lozad
Typescript
Module System
77.1
Supply Chain
74.8
Quality
75.6
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
1,406,994
Last Day
1,072
Last Week
4,854
Last Month
25,141
Last Year
299,771
NOASSERTION License
49,699 Stars
89,358 Commits
30,387 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 09, 2025
Latest Version
1.16.4
Package Id
@types/lozad@1.16.4
Unpacked Size
4.01 kB
Size
1.79 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
82.6%
1,072
Compared to previous day
Last Week
-2.4%
4,854
Compared to previous week
Last Month
-16.8%
25,141
Compared to previous month
Last Year
-5.8%
299,771
Compared to previous year
npm install --save @types/lozad
This package contains type definitions for lozad (https://github.com/ApoorvSaxena/lozad.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lozad.
1declare namespace lozad { 2 interface Options { 3 enableAutoReload?: boolean | undefined; 4 rootMargin?: string | undefined; 5 threshold?: number | undefined; 6 load?(element: Element): void; 7 loaded?(element: Element): void; 8 } 9 10 // TODO: remove on next major version bump 11 // tslint:disable:next-line no-empty-interface 12 interface Option extends Options {} 13 14 interface Observer { 15 observe(): void; 16 triggerLoad(element: Element): void; 17 observer: IntersectionObserver; 18 } 19 20 type Selector = string | Element | HTMLCollectionOf<Element> | NodeListOf<Element>; 21 22 const prototype: {}; 23} 24 25declare function lozad(selector?: lozad.Selector, options?: lozad.Options): lozad.Observer; 26 27export as namespace lozad; 28 29export = lozad; 30
These definitions were written by York Yao.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-05-05
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More