![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
balena-config-json
Advanced tools
Balena config.json manipulation utilities.
The intention of this module is to provide low level utilities to read and write config.json
from balena devices.
THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY.
Install balena-config-json
by running:
$ npm install --save balena-config-json
Promise
Promise
Promise
Kind: inner method of config
Summary: Read a config.json from an image
Access: public
Fulfil: Object
- config.json
Param | Type | Description |
---|---|---|
image | String | image or drive path |
_type | String | ignored (device type, no longer required) |
Example
config.read('/dev/disk2', 'raspberry-pi').then (config) ->
console.log(config)
Promise
Kind: inner method of config
Summary: Write a config.json to an image
Access: public
Param | Type | Description |
---|---|---|
image | String | image or drive path |
_type | String | ignored (device type, no longer required) |
config | Object | config.json |
Example
config.write '/dev/disk2', 'raspberry-pi',
username: 'foobar'
.then ->
console.log('Done!')
If you're having any problem, please raise an issue on GitHub and the balena team will be happy to help.
Run the test suite by doing:
$ gulp test
Before submitting a PR, please make sure that you include tests, and that npm run lint
runs without any warning:
$ gulp lint
The project is licensed under the Apache 2.0 license.
4.2.0 - 2021-10-22
FAQs
Balena config.json manipulation utilities
The npm package balena-config-json receives a total of 215 weekly downloads. As such, balena-config-json popularity was classified as not popular.
We found that balena-config-json 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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.