
Product
Socket Now Supports pylock.toml Files
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
java-props
Advanced tools
Read Java .properties files (using the same specification), without useless additional features.
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).
npm install java-props
# file.properties
a = Hello World
b : Node.js\u00AE
c value
d=foo\
bar
const javaProps = require('java-props');
javaProps
.parseFile('./file.properties')
.then((props) => {
console.log(props);
// { a: 'Hello World', b: 'Node.js®', c: 'value', d: 'foobar' }
})
.catch((err) => {
console.error(err);
});
For a detailed API reference, see: node-java-props.nathan818.fr
This project uses TypeScript. To create javascript sources run:
yarn run build
To run the test suite, first install the dependencies, then run yarn test
:
yarn install
yarn test
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.
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
Read Java .properties files (using the same specification), without useless additional features.
The npm package java-props receives a total of 3,998 weekly downloads. As such, java-props popularity was classified as popular.
We found that java-props demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.
Research
Security News
Malicious Ruby gems typosquat Fastlane plugins to steal Telegram bot tokens, messages, and files, exploiting demand after Vietnam’s Telegram ban.