https://github.com/vweevers/win-find-jscript-compiler
Find .NET's jsc.exe on Windows.
https://github.com/vweevers/win-find-jscript-compiler
dotnet jsc jscript nodejs
Last synced: 12 months ago
JSON representation
Find .NET's jsc.exe on Windows.
- Host: GitHub
- URL: https://github.com/vweevers/win-find-jscript-compiler
- Owner: vweevers
- License: mit
- Created: 2018-05-19T16:26:32.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2020-12-11T17:49:45.000Z (over 5 years ago)
- Last Synced: 2025-04-12T10:13:28.956Z (12 months ago)
- Topics: dotnet, jsc, jscript, nodejs
- Language: JavaScript
- Homepage:
- Size: 1.95 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# win-find-jscript-compiler
**Find .NET's `jsc.exe` on Windows. Noop on other platforms.**
[](https://www.npmjs.org/package/win-find-jscript-compiler)
[](https://www.npmjs.org/package/win-find-jscript-compiler)
[](https://ci.appveyor.com/project/vweevers/win-find-jscript-compiler)
[](https://david-dm.org/vweevers/win-find-jscript-compiler)
[](https://standardjs.com)
## usage
```js
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](https://npmjs.org) do:
```
npm install win-find-jscript-compiler
```
## license
[MIT](http://opensource.org/licenses/MIT) © Vincent Weevers