Works also as node module