win-find-jscript-compiler

2019-02-13 admin

win-find-jscript-compiler是什么

什么是win-find-jscript-compiler,Find .NET's jsc.exe on Windows

win-find-jscript-compiler使用教程帮助文档

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-53652.html

文章标题:win-find-jscript-compiler

回到顶部