Modules@robinpath/box

@robinpath/box

0.1.1Public

Box module for RobinPath.

@robinpath/box

Box module for RobinPath.

Category Functions Auth License

Why use this module?

The box module lets you:

  • listFolderItems
  • getFolderInfo
  • createFolder
  • deleteFolder
  • getFileInfo

All functions are callable directly from RobinPath scripts with a simple, consistent API.

Installation

npm install @robinpath/box

Quick Start

1. Set up credentials

box.setCredentials "your-credentials"

2. listFolderItems

box.listFolderItems

Available Functions

FunctionDescription
box.setCredentialsConfigure box credentials.
box.listFolderItemslistFolderItems
box.getFolderInfogetFolderInfo
box.createFoldercreateFolder
box.deleteFolderdeleteFolder
box.getFileInfogetFileInfo
box.downloadFiledownloadFile
box.deleteFiledeleteFile
box.copyFilecopyFile
box.moveFilemoveFile
box.uploadFileuploadFile
box.searchContentsearchContent
box.createSharedLinkcreateSharedLink
box.getSharedLinkgetSharedLink
box.listCollaborationslistCollaborations
box.addCollaborationaddCollaboration
box.getUsergetUser
box.updateFileInfoupdateFileInfo
box.lockFilelockFile

Examples

listFolderItems

box.listFolderItems

getFolderInfo

box.getFolderInfo

createFolder

box.createFolder

Integration with RobinPath

import { RobinPath } from "@wiredwp/robinpath";
import Module from "@robinpath/box";

const rp = new RobinPath();
rp.registerModule(Module.name, Module.functions);
rp.registerModuleMeta(Module.name, Module.functionMetadata);

const result = await rp.executeScript(`
  box.setCredentials "your-credentials"
  box.listFolderItems
`);

Full API Reference

See MODULE.md for complete documentation including all parameters, return types, error handling, and advanced examples.

Related Modules

License

MIT

Versions (1)

VersionTagPublished
0.1.1latestyesterday
Install
$ robinpath install @robinpath/box
Version0.1.1
LicenseMIT
Unpacked Size4.6 KB
Versions1
Weekly Downloads0
Total Downloads0
Stars0
Last Publishyesterday
Createdyesterday

Category

devops