Skip to content

Repository files navigation

Nova SDK

A TypeScript SDK for interacting with the Nova file management system.

Installation

NPM

npm install git@github.com:MojdehBook/nova-sdk.git

Git Submodule

git submodule add git@github.com:MojdehBook/nova-sdk.git

Configuration

The SDK requires two configuration values:

  • FILEUPLOAD_URL: The base URL of your Nova instance
  • FILEUPLOAD_TOKEN: Your authentication token

You can provide these values in two ways:

  1. Environment variables:
export FILEUPLOAD_URL="https://your-nova-instance.com"
export FILEUPLOAD_TOKEN="your-auth-token"
  1. Constructor parameters:
import NovaSDK from 'nova_sdk';

const nova = new NovaSDK('https://your-nova-instance.com', 'your-auth-token');

Usage

For detailed usage instructions, please refer to our documentation:

Features

  • Directory Management
    • Create directories
    • List directories with filters
    • Delete directories
  • File Upload
    • Upload single or multiple files
    • Support for directory namespaces
    • File tagging
    • Preserve original filenames

License

MIT

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages