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

node-seafile

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-seafile

NodeJS module for communicating with the seafile API

  • 1.2.0
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-seafile

NodeJS module for communicating with the seafile API

usage

require('node-seafile')('http://link.to.your.seafile.com')

auth

auth.getToken

get token

node-seafile.auth.getToken(username, password, callback(token))

library

library.list

get list of user's libraries.

node-seafile.library.list(token, callback(err, res))

directory

direcroty.get

get the contents of a folder

node-seafile.folder.get(token, library-id, params, callback(result))

api (direct access)

api.post(endpoint, params, token [optional], callback)

directly sends a POST request to the server

node-seafile.api.post('/ping', {}, function(err, body, res){})

api.get(endpoint, params, token [optional], callback)

directly sends a GET request to the server

node-seafile.api.get('/ping', {}, function(err, body, res){})

FAQs

Package last updated on 03 Sep 2017

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