Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 879 Bytes

README.md

File metadata and controls

27 lines (19 loc) · 879 Bytes

tests codecov

node-arma3sync-lib

Read and write Arma3Sync .a3s config data using JavaScript.

const a3s = new A3sDirectory('/my/repo/path/.a3s/')
a3s.getEvents().then(events => { /*pure awesome*/});

Configuration

Currently uses config and expects this config structure to exist:

{
  "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`
  }
}