Installations
npm install @types/carbon__layout
Developer Guide
Typescript
Yes
Module System
N/A
Score
71.7
Supply Chain
97.4
Quality
75.3
Maintenance
100
Vulnerability
100
License
Contributors
Languages
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Developer
DefinitelyTyped
Download Statistics
Total Downloads
160,212
Last Day
307
Last Week
1,537
Last Month
5,339
Last Year
60,738
GitHub Statistics
49,118 Stars
88,652 Commits
30,296 Forks
640 Watching
5 Branches
9,978 Contributors
Package Meta Information
Latest Version
0.0.3
Package Id
@types/carbon__layout@0.0.3
Unpacked Size
5.09 kB
Size
1.73 kB
File Count
5
Publised On
07 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
160,212
Last day
10%
307
Compared to previous day
Last week
23.8%
1,537
Compared to previous week
Last month
3.8%
5,339
Compared to previous month
Last year
49.5%
60,738
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Installation
npm install --save @types/carbon__layout
Summary
This package contains type definitions for @carbon/layout (https://github.com/IBM/carbon-elements/tree/master/packages/layout).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/carbon__layout.
index.d.ts
1export const baseFontSize: number; 2 3export const breakpoints: { 4 lg: { 5 columns: number; 6 margin: string; 7 width: string; 8 }; 9 max: { 10 columns: number; 11 margin: string; 12 width: string; 13 }; 14 md: { 15 columns: number; 16 margin: string; 17 width: string; 18 }; 19 sm: { 20 columns: number; 21 margin: string; 22 width: string; 23 }; 24 xlg: { 25 columns: number; 26 margin: string; 27 width: string; 28 }; 29}; 30 31export const miniUnit: number; 32 33export const spacing: number[]; 34 35export function breakpoint(...args: any[]): string; 36 37export function breakpointDown(name: string): string; 38 39export function breakpointUp(name: string): string; 40 41export function em(px: number): string; 42 43export function miniUnits(count: number): string; 44 45export function px(value: number): string; 46 47export function rem(px: number): string; 48 49export namespace breakpoint { 50 const prototype: {}; 51} 52 53export namespace breakpointDown { 54 const prototype: {}; 55} 56 57export namespace breakpointUp { 58 const prototype: {}; 59} 60 61export namespace em { 62 const prototype: {}; 63} 64 65export namespace miniUnits { 66 const prototype: {}; 67} 68 69export namespace px { 70 const prototype: {}; 71} 72 73export namespace rem { 74 const prototype: {}; 75} 76
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Vince Picone.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 26/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:5
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:12
- Info: 20 out of 20 GitHub-owned GitHubAction dependencies pinned
- Info: 8 out of 8 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/UpdateCodeowners.yml:19
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ghostbuster.yml:20
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/support-window.yml:22
- Info: topLevel 'contents' permission set to 'read': .github/workflows/CI.yml:16
- Info: topLevel 'contents' permission set to 'read': .github/workflows/UpdateCodeowners.yml:14
- Warn: no topLevel permission defined: .github/workflows/format-and-commit.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/ghostbuster.yml:15
- Info: topLevel 'contents' permission set to 'read': .github/workflows/lint-md.yml:7
- Warn: no topLevel permission defined: .github/workflows/pnpm-cache.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/support-window.yml:17
- Warn: no topLevel permission defined: .github/workflows/watchdog-publisher.yml:1
- Warn: no topLevel permission defined: .github/workflows/watchdog-typescript-bot.yml:1
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 28 are checked with a SAST tool
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
6.9
/10
Last Scanned on 2025-02-03
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