Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

balena-image-fs

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

balena-image-fs

Image filesystem manipulation utilities

  • 7.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8.8K
decreased by-21.64%
Maintainers
1
Weekly downloads
 
Created
Source

balena-image-fs

npm version dependencies Build Status Build status

Balena.io image filesystem manipulation utilities.

Role

The intention of this module is to provide low level utilities to Balena.io operating system data partitions.

THIS MODULE IS LOW LEVEL AND IS NOT MEANT TO BE USED BY END USERS DIRECTLY.

Installation

Install balena-image-fs by running:

$ npm install --save balena-image-fs

Documentation

imagefs~interact()

Kind: inner method of imagefs
Summary: Run a function with a node fs like interface for a partition
Example

const contents = await interact('/foo/bar.img', 5, async (fs) => {
	return await promisify(fs.readFile)('/bar/qux');
});
console.log(contents);

Support

If you're having any problem, please raise an issue on GitHub and the Balena.io team will be happy to help.

Tests

Run the test suite by doing:

$ npm test

Contribute

License

The project is licensed under the Apache 2.0 license.

Keywords

FAQs

Package last updated on 02 Jan 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc