title: Executing JavaScript code on Windows Store App
body: <p>I have a JavaScript library (<em>library.js file</em>) with functions that I need to invoke from projects targeting multiple platforms (Mac, Windows Desktop, Windows 8.1, Android, etc..). For example, lets say I have an algorithm that that takes input A and returns B. The JavaScript library that has the implementation for translating A --> B should be reused across all platforms</p>
  
  <p>For Windows <strong>RT, 8.1, 10</strong> XAML based C# Store Apps, what options do I have to execute a JavaScript script at runtime? I am looking for a JavaScript engine that could execute scripts by taking input parameters and return me a value.</p>
  
  <p>So far, I have found out that <a href="https://github.com/sebastienros/jint" rel="nofollow">JINT</a> interpreter works on 8.1, but the performance is slow for large scripts and I am looking for a tested and trusted JavaScript compiler similar to JavaScriptCore that iOS/Mac uses. </p>