module Nodejs

Extended Modules

Defined in:

nodejs.cr
nodejs/converter.cr
nodejs/exception.cr

Constant Summary

NODE_PATH = "#{Internal.home_dir}/bin/node"

Instance Method Summary

Instance Method Detail

def eval(source_code : String) : JSON::Any #

[View source]
def file_run(file_path : String) : JSON::Any #

[View source]
def load_jsfile(file_path : String) : String #

[View source]
def replace_params(source_code : String, replaces : Hash = {String => (String | Int32) | Float32}) : String #

[View source]
def version : Void #

[View source]