https://github.com/gruppe-adler/node-arma3sync-lib
Node.js library to read/write Arma3Sync config data.
https://github.com/gruppe-adler/node-arma3sync-lib
arma3sync hacktoberfest library node
Last synced: about 1 month ago
JSON representation
Node.js library to read/write Arma3Sync config data.
- Host: GitHub
- URL: https://github.com/gruppe-adler/node-arma3sync-lib
- Owner: gruppe-adler
- Created: 2019-08-18T19:19:18.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-10-18T22:37:17.000Z (8 months ago)
- Last Synced: 2025-03-31T00:14:12.572Z (2 months ago)
- Topics: arma3sync, hacktoberfest, library, node
- Language: TypeScript
- Homepage:
- Size: 371 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

[](https://codecov.io/gh/gruppe-adler/node-arma3sync-lib)# node-arma3sync-lib
Read and write [Arma3Sync](svn://www.sonsofexiled.fr/repository/ArmA3Sync/trunk) `.a3s` config data using JavaScript.
```ts
const a3s = new A3sDirectory('/my/repo/path/.a3s/')
a3s.getEvents().then(events => { /*pure awesome*/});```
## Configuration
Currently uses [config](https://www.npmjs.com/package/config) and expects this config structure to exist:
```js
{
"arma3sync-lib": {
"publicURL": "", // public repository URL, ex. `http://mods.my-clan.com/`
"repoName": "", // repository name
"repoPath": "" // file path to the repository, ex. `/var/lib/a3s/mods`
}
}
```