Package Exports
- @omarmciver/azurestoragesync
- @omarmciver/azurestoragesync/dist/watcher.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@omarmciver/azurestoragesync) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Azure Storage Sync
Azure Storage Sync is a Node.js package designed to synchronize files between a local file system and Azure Blob Storage.
Features
- Real-time synchronization from local file system to Azure Blob Storage.
- Supports multiple directories and corresponding Azure Blob containers to a single Azure Storage Account using an access key.
- Change detection based on last modified date.
- Easy configuration and setup.
Installation
npm install @omarmciver/azurestoragesyncUsage
To use Azure Storage Sync, create a configuration file (config.json) with your Azure Storage account details and the paths you want to synchronize.
Example config.json
{
"azureStorage": {
"accountName": "your_account_name",
"accessKey": "your_access_key"
},
"watchPaths": [
{
"localPath": "path/to/local/directory",
"containerPath": "name-of-azure-container"
}
// ... more paths as needed
]
}Starting the Sync
Run the synchronization script with the path to your config.json:
node sync.js path/to/config.jsonContributing
Contributions are welcome! If you have a feature request or bug report, please open an issue on GitHub.
License
This project is licensed under the MIT License - see the LICENSE file for details.