balloon FUSE bindings for node.js
Last updated a year ago by raffis .
MIT · Original npm · Tarball · package.json
$ cnpm install @gyselroth/balloon-node-fuse 
SYNC missed versions from official npm registry.

balloon FUSE bindings for node.js

Build Status GitHub release npm GitHub license


npm install --save @gyselroth/balloon-node-fuse
npm install --save @gyselroth/balloon-sdk-node


balloon-node-fuse requires an instance of @gyselroth/balloon-sdk-node.

Note: balloon-node-fuse requires fuse-bindings internally which itself requires a native fuse dependency. if balloon-node-fuse is somewhat packaged into a binary (For example via electron, nexe, ...) this dependency must be included. On Linux you may install the fuse package from your distribution. On Windows Dokany is required and on OS X osxfuse.


import { CoreV2Api, HttpBasicAuth } from '@gyselroth/balloon-sdk-node';
import { mount } from '@gyselroth/balloon-node-fuse';

var client = new CoreV2Api(args.server);

var basic = new HttpBasicAuth();
basic.username = 'admin';
basic.password = 'admin';

var config = {
  mountPoint: '/media/balloon',

mount(client, config).then(result => {
  console.log('balloon mounted');
}).catch(error => {
  console.log('mount error %s', error);

Install fuse

balloon-node-fuse requires fuse. This is usually installed on Linux based systems. On windows, dokany provides the necessary fuse bindings. dokany may be installed automatically using balloon-node-fuse. The same applies to OS X, there is no fuse by default but can be installed using the provided options.

import { install } from '@gyselroth/balloon-node-fuse';

install().then(result => {
  console.log("fuse installed");
}).catch(error => {
  console.log('install %s', error);


Option Type Default Description
mountPoint <string> null (Required) Path where balloon should be mounted.
cacheDir <string> null Path to directory where an offline cache is located.
cacheTTL <int> 5 Cache time in seconds for node response TTL.
on <callback> null Event binder to handle fuse events.


You may bind a callback to handle each fuse event individually:

var config = {
  mountPoint: '/media/balloon',
  on: function(e) {
    console.log('fuse event', e);

mount(client, config);

Current Tags

  • 1.0.0-alpha10                                ...           latest (a year ago)

10 Versions

  • 1.0.0-alpha10                                ...           a year ago
  • 1.0.0-alpha9                                ...           a year ago
  • 1.0.0-alpha8                                ...           a year ago
  • 1.0.0-alpha7                                ...           a year ago
  • 1.0.0-alpha6                                ...           a year ago
  • 1.0.0-alpha5                                ...           a year ago
  • 1.0.0-alpha4                                ...           a year ago
  • 1.0.0-alpha3                                ...           a year ago
  • 1.0.0-alpha2                                ...           a year ago
  • 1.0.0-alpha1                                ...           a year ago
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 10
Last Month 10
Dependencies (5)
Dev Dependencies (10)
Dependents (0)

Copyright 2014 - 2016 © taobao.org |