sasjs-server
Installation
SKILL.md
@sasjs/server
SASjs Server is an open-source NodeJS wrapper for calling the SAS binary executable. It runs on a real SAS server or a local desktop and provides:
- A filesystem (SASjs Drive) for storing SAS programs and content
- Execution of Stored Programs from a URL (equivalent to SAS 9 Stored Processes / Viya Jobs)
- Web app streaming (serve frontend apps straight from SAS content)
- A REST API with Swagger docs
- Portability: apps built for SASjs Server deploy unchanged to SAS 9 / Viya via @sasjs/cli
Modes
- Desktop mode (
MODE=desktop, default): single-user, no authentication, no database. CORS enabled by default. - Server mode (
MODE=server): multi-user with authentication, requires a database (DB_CONNECT,DB_TYPE=mongodb|cosmos_mongodb). CORS disabled by default - configureWHITELISTif enabling.
Installation
Download the relevant zip from GitHub releases, verify it before running: pin a specific release tag (not latest), check the published SHA256 checksum, or - better - build from source.