First, make sure that you are using Node.js version of no less than 20.
Currently, this project is only tested for Synology DSM 7.1.1,you can try it. but I can't guarantee that it will work for your Synology NAS.
SynologyApi
instance parameters description
Parameter | Type | Description | Default |
---|---|---|---|
server | string | Synology NAS address or QuickConnectId | - |
quickConnectServerType | proxy | wan | lan | QuickConnect server type when connecting via QuickConnect ID | proxy |
username | string | Synology NAS username | - |
password | string | Synology NAS password | - |
You can choose to connect to the Synology server using either a QuickConnectId or Synology server address, for example:
First you need to confirm that you can access across domains,for example in the React Native environment
First install the package globally
Then run cmd help message
run syno config -h
you will see the help message
add a connect configuration
then you can use it and exec command