1.0.2 • Published 9 months ago

@rhost/sdk v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@rhost/sdk

This is a library for Node1 to make it easier to write execscript scripts for RhostMUSH2, by pre-processing the myriad environment variables, and giving a print() function that munges Unicode into the Rhost-native markup. It is a port of Deno-Rhost3.

Sample of use:

const Rhost = require('@rhost/sdk');
try {
	var environment = Rhost.environment()
	Rhost.print(`You are using a server with execscript version: ${environment.version}`)
} catch(e) {
	Rhost.print("Failed parsing Rhost execscript data")
	Rhost.print(e)
}

development

npm install
npm run test
1.0.2

9 months ago

1.0.1

2 years ago

1.0.0

2 years ago