title: Using third party js libraries with Jint
body: <p>I'm working on a feature where user defined, anonymous, javascript functions retrieved from a database need to be executed server side in the context of ASP.Net application. </p>
  
  <p>I'm evaluating Jint for this purpose (Latest version from NuGet). I have been able to run functions that do basic operations and return values without an issue as below. </p>
  
  <pre><code>    public void Do()
      {
          var jint = new Engine();
          var add = jint.Execute(@"var f = " + GetJsFunction()).GetValue("f");
          var value = add.Invoke(5, 4);
          Console.Write("Result: " + value);
      }
  
      private string GetJsFunction()
      {
          return "function (x,y) {" +
                 "    return x+y;" +
                 "}";
      }
  </code></pre>
  
  <p>My question is whether Jint facilitates the execution of javascript functions which uses third party libraries like lodash? If so, how would I go about making the Jint engine aware of it (i.e third party library)? </p>
  
  <p>An example would be the execution of following function.</p>
  
  <pre><code>  private string GetFunction()
      {
          return "function (valueJson) { " +
                 "   var value = JSON.parse(valueJson);" +
                 "   var poi = _.find(value,{'Name' : 'Mike'});" +
                 "   return poi; " +
                 "}";
  
      }
  </code></pre>
  
  <p>Thanks a lot in advance.</p>