Installations
npm install linaria
Developer Guide
Typescript
Yes
Module System
CommonJS
Min. Node Version
>=16.0.0
Node Version
20.12.2
NPM Version
10.5.0
Score
70.4
Supply Chain
69.5
Quality
82.8
Maintenance
100
Vulnerability
99.6
License
Releases
@linaria/core@6.2.0
Published on 26 Apr 2024
@linaria/react@6.2.0
Published on 25 Apr 2024
linaria@6.1.1
Published on 25 Apr 2024
@linaria/atomic@6.1.1
Published on 25 Apr 2024
@linaria/stylelint-config-standard-linaria@6.1.0
Published on 08 Feb 2024
@linaria/stylelint@6.1.0
Published on 08 Feb 2024
Contributors
Languages
TypeScript (87.17%)
JavaScript (12.36%)
Shell (0.33%)
HTML (0.14%)
Developer
Download Statistics
Total Downloads
3,795,624
Last Day
1,011
Last Week
5,526
Last Month
24,231
Last Year
351,097
GitHub Statistics
11,777 Stars
987 Commits
416 Forks
69 Watching
52 Branches
172 Contributors
Bundle Size
694.00 B
Minified
433.00 B
Minified + Gzipped
Package Meta Information
Latest Version
6.2.0
Package Id
linaria@6.2.0
Unpacked Size
7.99 kB
Size
3.26 kB
File Count
25
NPM Version
10.5.0
Node Version
20.12.2
Publised On
26 Apr 2024
Total Downloads
Cumulative downloads
Total Downloads
3,795,624
Last day
0.2%
1,011
Compared to previous day
Last week
-14.6%
5,526
Compared to previous week
Last month
27%
24,231
Compared to previous month
Last year
-29.3%
351,097
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Zero-runtime CSS in JS library.
📖 Please refer to the GitHub for full documentation.
Features
- Write CSS in JS, but with zero runtime, CSS is extracted to CSS files during build
- Familiar CSS syntax with Sass like nesting
- Use dynamic prop based styles with the React bindings, uses CSS variables behind the scenes
- Easily find where the style was defined with CSS sourcemaps
- Lint your CSS in JS with stylelint
- Use JavaScript for logic, no CSS preprocessor needed
- Optionally use any CSS preprocessor such as Sass or PostCSS
Installation
1npm install @linaria/core @linaria/react @linaria/babel-preset
or
1yarn add @linaria/core @linaria/react @linaria/babel-preset
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
Found 9/19 approved changesets -- score normalized to 4
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/check.yml:1
- Warn: no topLevel permission defined: .github/workflows/main.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Warn: no topLevel permission defined: .github/workflows/site-deploy.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/check.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/check.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/check.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/check.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/check.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/check.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/main.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/main.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/main.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/release.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:43: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/release.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:52: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/site-deploy.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/site-deploy.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/site-deploy.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/site-deploy.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/site-deploy.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/site-deploy.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/site-deploy.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/site-deploy.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/site-deploy.yml:45: update your workflow using https://app.stepsecurity.io/secureworkflow/callstack/linaria/site-deploy.yml/master?enable=pin
- Info: 0 out of 10 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 6 third-party GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 25 are checked with a SAST tool
Reason
30 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-ff7x-qrg7-qggm
- Warn: Project is vulnerable to: GHSA-f6v4-cf5j-vf3w
- Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx
- Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc
- Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-96g7-g7g9-jxw8
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-76p3-8jx3-jpfq
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j
- Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg
- Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
- Warn: Project is vulnerable to: GHSA-m95q-7qp3-xv42
Score
3.2
/10
Last Scanned on 2025-01-27
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 MoreGathering detailed insights and metrics for linaria