"jsyaml is not defined"

I am trying to use the governance collection provided by Postman. I have installed js-yaml but

get this on all the tests that us it:

message: “jsyaml is not defined”

This is where it happens in the script


    try {

      var oas = jsyaml.load(schema_body);

    } catch (e) {




I installed it as follows:

npm install -g js-yaml