Installations
npm install aisdash-primereact
Developer Guide
Typescript
No
Module System
N/A
Node Version
10.6.0
NPM Version
6.1.0
Score
78.9
Supply Chain
93.2
Quality
75.7
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Languages
CSS (59.93%)
JavaScript (39.58%)
SCSS (0.5%)
Developer
Download Statistics
Total Downloads
14,157
Last Day
8
Last Week
37
Last Month
113
Last Year
951
GitHub Statistics
7,287 Stars
11,052 Commits
1,077 Forks
73 Watching
4 Branches
310 Contributors
Package Meta Information
Latest Version
2.2.4
Package Id
aisdash-primereact@2.2.4
Unpacked Size
1.92 MB
Size
374.83 kB
File Count
353
NPM Version
6.1.0
Node Version
10.6.0
Total Downloads
Cumulative downloads
Total Downloads
14,157
Last day
700%
8
Compared to previous day
Last week
1,133.3%
37
Compared to previous week
Last month
-3.4%
113
Compared to previous month
Last year
-48.6%
951
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
31
PrimeReact
PrimeReact is a rich set of open source UI Components for React.
See PrimeReact homepage for live showcase and documentation.
Download
PrimeReact is available at npm, if you have an existing application run the following command to download it to your project.
npm install primereact --save
Import
1//import {ComponentName} from 'primereact/components/componentname/componentname'; 2import {Accordion,AccordionTab} from 'primereact/components/accordion/Accordion';
Dependencies
Majority of PrimeReact components (95%) are native and there are some exceptions having 3rd party dependencies such as Google Maps for GMap.
In addition, components require font-awesome for icons, classNames package to manage style classes and react-transition-group for animations.
1dependencies: { 2 "react": "^16.0.0", 3 "react-dom": "^16.0.0", 4 "react-transition-group": "^2.2.1", 5 "font-awesome": "^4.7.0", 6 "classnames": "^2.2.5" 7}
Styles
The css dependencies are as follows, note that you may change the theme with another one of your choice.
primereact/resources/themes/omega/theme.css
primereact/resources/primereact.min.css
primereact.min.css is a bundle that contains styles of all components, if you require a style of a specific component import the css from the folder of the component along with the common.css.
primereact/resources/themes/omega/theme.css
primereact/components/common/common.css
primereact/components/autocomplete/AutoComplete.css
If you are using a bundler such as webpack with a css loader you may also import them to your main application component, an example from create-react-app would be.
1import 'primereact/resources/primereact.min.css'; 2import 'primereact/resources/themes/omega/theme.css'; 3import 'font-awesome/css/font-awesome.css';
QuickStart
An example application based on create-react-app is available at github.
TypeScript
Typescript Typescript is fully supported as type definition files are provided in the npm package of PrimeReact. A sample typescript-primereact application is available as well at github.
No vulnerabilities found.
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
no binaries found in the repo
Reason
4 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-c59h-r6p8-q9wc
- Warn: Project is vulnerable to: GHSA-g77x-44xx-532m
- Warn: Project is vulnerable to: GHSA-7gfc-8cq8-jh5f
- Warn: Project is vulnerable to: GHSA-7fh5-64p2-3v2j
Reason
Found 15/30 approved changesets -- score normalized to 5
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: topLevel 'contents' permission set to 'read': .github/workflows/comment_by_label.yml:8
- Warn: topLevel 'contents' permission set to 'write': .github/workflows/generate_api_doc.yml:11
- Info: topLevel 'contents' permission set to 'read': .github/workflows/issue-inactive-checker.yml:8
- Info: topLevel 'contents' permission set to 'read': .github/workflows/issue-labeled.yml:8
- Info: topLevel 'contents' permission set to 'read': .github/workflows/label.yml:10
- Info: topLevel 'contents' permission set to 'read': .github/workflows/nightly.yml:8
- Info: topLevel 'contents' permission set to 'read': .github/workflows/node.js.yml:10
- Info: topLevel 'contents' permission set to 'read': .github/workflows/pr_verify_linked_issue.yml:9
- Info: topLevel 'contents' permission set to 'read': .github/workflows/stale.yml:6
- Info: no jobLevel write permissions 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
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
- Warn: branch protection not enabled for branch 'prod'
- Warn: branch protection not enabled for branch 'v9'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 22 are checked with a SAST tool
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate_api_doc.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/generate_api_doc.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/generate_api_doc.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/generate_api_doc.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-inactive-checker.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/issue-inactive-checker.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-inactive-checker.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/issue-inactive-checker.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-inactive-checker.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/issue-inactive-checker.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-labeled.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/issue-labeled.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-labeled.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/issue-labeled.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/issue-labeled.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/issue-labeled.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/label.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/label.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/nightly.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nightly.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/nightly.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/node.js.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/node.js.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr_verify_linked_issue.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/pr_verify_linked_issue.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/stale.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/primefaces/primereact/stale.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/generate_api_doc.yml:33
- Warn: npmCommand not pinned by hash: .github/workflows/nightly.yml:31
- Warn: npmCommand not pinned by hash: .github/workflows/node.js.yml:31
- Info: 0 out of 7 GitHub-owned GitHubAction dependencies pinned
- Info: 1 out of 9 third-party GitHubAction dependencies pinned
- Info: 0 out of 3 npmCommand dependencies pinned
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
4.5
/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 More