Skip to content

RoyTakanen/node-filen.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-filen.io | UNDER CONSTRUCTION

Filen.io API for Node.JS

Features

  • Login
  • Account storage usage
  • Directory listing
  • Download
  • Upload

Usage

Initialization

Import Filen class to your project.

const Filen = require('./filen');

Class takes two arguments. First one is email and second one is password.

const filen = new Filen('<email>', '<password>')

Login

Authentication does not happen immediately (will happen in the future) so you need to call the login method.

filen.login().then((status) => {
    console.log(status)
})

Account storage usage

Listing the usage works by calling usage method.

filen.usage().then((info) => {
    console.log(info)
})

This info is an object which looks similar to this: ADD LATER

List files and directories

ADD LATER

Full example can be found in example.js.

About

Filen.io API for Node.JS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published