Installations
npm install java-props
Score
83.7
Supply Chain
94.5
Quality
75.7
Maintenance
100
Vulnerability
100
License
Developer
nathan818fr
Developer Guide
Module System
CommonJS, UMD
Min. Node Version
Typescript Support
No
Node Version
NPM Version
Statistics
5 Stars
66 Commits
3 Watching
2 Branches
1 Contributors
Updated on 17 May 2022
Bundle Size
2.62 kB
Minified
1.17 kB
Minified + Gzipped
Languages
TypeScript (96.82%)
JavaScript (3.18%)
Total Downloads
Cumulative downloads
Total Downloads
549,667
Last day
-25.5%
892
Compared to previous day
Last week
-12.4%
5,368
Compared to previous week
Last month
13.7%
28,324
Compared to previous month
Last year
62.6%
268,685
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
8
java-props
Read/Parse Java .properties files (using EXACTLY the same specification) in Javascript (browser) and Node.js.
This module provides its own TypeScript declarations (.d.ts).
Installation
1npm install java-props
Example
1# file.properties 2a = Hello World 3b : Node.js\u00AE 4c value 5d=foo\ 6 bar
1const javaProps = require('java-props'); 2 3javaProps 4 .parseFile('./file.properties') 5 .then((props) => { 6 console.log(props); 7 // { a: 'Hello World', b: 'Node.js®', c: 'value', d: 'foobar' } 8 }) 9 .catch((err) => { 10 console.error(err); 11 });
Documentation
For a detailed API reference, see: node-java-props.nathan818.fr
Building
This project uses TypeScript. To create javascript sources run:
1yarn run build
Testing
To run the test suite, first install the dependencies, then run yarn test
:
1yarn install 2yarn test
Contributing
Contributions are welcome.
The goal is to keep a simple project without unnecessary (non essential) features. It is recommended to open an issue before introducing new features to discuss them.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
License
This project is licensed under the MIT License. See the LICENSE file for details.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
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/typedoc.yml:1
- Info: no jobLevel write permissions found
Reason
Found 0/28 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/nathan818fr/node-java-props/typedoc.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/typedoc.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/nathan818fr/node-java-props/typedoc.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/typedoc.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/nathan818fr/node-java-props/typedoc.yml/master?enable=pin
- Warn: npmCommand not pinned by hash: .github/workflows/typedoc.yml:20
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 0 out of 1 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
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
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 2 are checked with a SAST tool
Reason
18 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-67hx-6x53-jw92
- Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-896r-f27r-55mw
- Warn: Project is vulnerable to: GHSA-9c47-m6qq-7p4h
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h
- Warn: Project is vulnerable to: GHSA-5fw9-fq32-wv5p
- Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp
- Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
- Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q
- Warn: Project is vulnerable to: GHSA-p9pc-299p-vxgp
Score
2.5
/10
Last Scanned on 2024-11-18
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