Skip to content

Small node module for building viz commands fluently (experimental)

Notifications You must be signed in to change notification settings

rdoubleui/viz-fluent-commands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

viz-fluent-commands

Small node module for building tcp commands for VizRT's scripting interface in Viz Engine fluently (experimental).

##Considerations Based on the wiki article the approach for fluent interfaces in JavaScript could be to use prototype inheritance. In general an object method returns a reference to itself to allow for cascaded method calls.

Testing

Started setting up a test environment based on mocha. Used in Visual Studio Code by creating a new task in my launch.json (setup in VS Code):

{
	"name": "Run mocha tests",
	"type": "node",
	"program": "C:/Users/Rajko/AppData/Roaming/npm/node_modules/mocha/bin/_mocha",
	"stopOnEntry": false,
	"args": ["test/**/*.js"],
	"cwd": ".",
	"runtimeExecutable": null,
	"env": {
		"NODE_ENV": "production"	
	},
	"sourceMaps": false,
	"outDir": "test/"
}

About

Small node module for building viz commands fluently (experimental)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published