What is the purpose of 'cscript'?

I am seeing some examples of cscript here Client side scripting · webnotes/wnframework Wiki · GitHub , bit I still do not understand the purpose of it.
Can anyone explain what is does?

Thank you.

rmehta and others explain in fair detail Architecture Overview · webnotes/wnframework Wiki · GitHub

But notice it’s use is obsolete Home · webnotes/wnframework Wiki · GitHub

Any updated wiki on cscript ?

@aldoblack don’t use cscript, please.
see this for your reference :