win-find-jscript-compiler

1.0.0 • Public • Published

win-find-jscript-compiler

Find .NET's jsc.exe on Windows. Noop on other platforms.

npm status node AppVeyor build status Dependency status JavaScript Style Guide

usage

const jsc = require('win-find-jscript-compiler')
 
jsc(function (err, results) {
  if (err) throw err
 
  console.log(results)
})

Output (latest version and x64 sorts last):

[ { dotnet: '2.0.50727',
    path: 'C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/jsc.exe',
    cpu: 'x86' },
  { dotnet: '2.0.50727',
    path: 'C:/WINDOWS/Microsoft.NET/Framework64/v2.0.50727/jsc.exe',
    cpu: 'x64' },
  { dotnet: '4.0.30319',
    path: 'C:/WINDOWS/Microsoft.NET/Framework/v4.0.30319/jsc.exe',
    cpu: 'x86' },
  { dotnet: '4.0.30319',
    path: 'C:/WINDOWS/Microsoft.NET/Framework64/v4.0.30319/jsc.exe',
    cpu: 'x64' } ]

install

With npm do:

npm install win-find-jscript-compiler

license

MIT © Vincent Weevers

Package Sidebar

Install

npm i win-find-jscript-compiler

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

5.34 kB

Total Files

7

Last publish

Collaborators

  • vweevers