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

@coboxcoop/drive

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@coboxcoop/drive

extension of kappa-drive for cobox space

  • 1.0.5-alpha.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-77.78%
Maintainers
2
Weekly downloads
 
Created
Source

drive

standard-readme compliant

Table of Contents

About

CoBox is an encrypted p2p file system and distributed back-up tool. README provides a map of the project.

drive wraps KappaDrive with some async functions and handlers for easy use in the API.

Install

npm install @coboxcoop/drive

Usage

See tests for usage.

API

const Drive = require('@coboxcoop/drive')

var drive = Drive(opts)

Returns a drive object. All opts are passed down to kappa-drive.

drive.ready(callback)

callback is called when the drive is ready to use.

drive.mount

mounts a kappa-drive to a file system location using fuse-native

drive.unmount

unmounts the drive

drive.isMounted

boolean for whether drive is currently mounted

drive.ls

returns a list of file stat objects

drive.size

outputs the total bytes used by all hyperdrives that compose the kappa-drive

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

AGPL-3.0-or-later

Keywords

FAQs

Package last updated on 07 Apr 2022

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