forked from rannn505/child-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (124 loc) · 7.53 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/png" href="https://raw.githubusercontent.com/rannn505/node-powershell/master/assets/node-powershell3-1-0.png"/>
<title> Node-PowerShell </title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/themes/prism-okaidia.min.css">
<style>
.container-fixed {
bottom: 0;
position: fixed;
left: 0;
right: 0;
top: 0;
}
.highlight {
background: #272822;
color: #f8f8f2;
width: 100%;
text-shadow: 0px 1px 2px rgba(0,0,0,0.4);
font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, serif;
font-size: 14px;
line-height: 1.5;
max-height: 400px;
border: 0;
border-radius: 0;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
::-webkit-scrollbar-track {
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
background-color: #6bbf47;
}
::-webkit-scrollbar {
width: 5px;
background-color: #4c86ea;
}
::-webkit-scrollbar-thumb {
background-color: #4c86ea;
}
</style>
</head>
<body>
<div class="container-fluid container-fixed" style="background-color: #4c86ea;
background-image: -webkit-linear-gradient( 135deg, #4c86ea 0%, #4c86ea 60%, #6bbf47 60%, #6bbf47 60%);
background-image: linear-gradient( 135deg, #4c86ea 0%, #4c86ea 60%, #6bbf47 60%, #6bbf47 60%); overflow-y: auto;">
<a href="https://github.com/rannn505/node-powershell"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"></a>
<div class="row" style="margin: 20px 0 10px 0">
<div class="col-md-3" style="text-align: left; color: white; font-family: monospace; font-size: 60px; text-align: center">
<img class="hidden-xs hidden-sm" src="https://raw.githubusercontent.com/rannn505/node-powershell/master/assets/logo.png" height="64"/>
<img class="hidden-md hidden-lg" src="https://raw.githubusercontent.com/rannn505/node-powershell/master/assets/node-powershell3-1-0.png" height="128"/>
</div>
</div>
<div class="row" style="margin: 0 0 20px 0">
<div class="col-md-12">
<a target="_blank" href="https://travis-ci.org/rannn505/node-powershell"><img src="https://img.shields.io/travis/rannn505/node-powershell.svg?style=flat-square" alt="Build Status"></a>
<a target="_blank" href="https://www.npmjs.com/package/node-powershell"><img src="https://img.shields.io/npm/v/node-powershell.svg?style=flat-square" alt="NPM Version"></a>
<a target="_blank" href="https://npm-stat.com/charts.html?package=node-powershell"><img src="https://img.shields.io/npm/dt/node-powershell.svg?style=flat-square" alt="NPM Downloads"></a>
<a target="_blank" href="https://coveralls.io/github/rannn505/node-powershell"><img src="https://img.shields.io/coveralls/rannn505/node-powershell.svg?style=flat-square" alt="Coveralls"></a>
<a target="_blank" href="http://packagequality.com/#?package=node-powershell"><img src="http://npm.packagequality.com/shield/node-powershell.svg?style=flat-square" alt="Package Quality"></a>
<a target="_blank" href="https://github.com/rannn505/node-powershell/issues?q=is%3Aissue+is%3Aclosed"><img src="https://img.shields.io/github/issues-closed-raw/rannn505/node-powershell.svg?style=flat-square" alt="Closed Issues"></a>
<a target="_blank" href="https://david-dm.org/rannn505/node-powershell"><img src="https://img.shields.io/david/rannn505/node-powershell.svg?style=flat-square" alt="Dependencies"></a>
<a target="_blank" href="https://github.com/rannn505/node-powershell/blob/master/LICENSE"><img src="https://img.shields.io/github/license/rannn505/node-powershell.svg?style=flat-square" alt="License"></a>
<a target="_blank" href="https://github.com/rannn505/node-powershell/stargazers"><img src="https://img.shields.io/github/stars/rannn505/node-powershell.svg?style=social&label=Star" alt=" GitHub Stars"></a>
</div>
</div>
<div class="row">
<div class="col-md-9">
<div class="highlight" style="border-radius: 0; padding: 1em;">
<span class="language-javascript">
> Node-PowerShell taking advantage of two of the simplest, effective and easy tools that exist in the today technology world.
On the one hand, <a target="_blank" href="https://nodejs.org/en/">NodeJS</a> which made a revolution in the world of javascript,
and on the other hand, <a target="_blank" href="https://github.com/PowerShell/PowerShell">PowerShell</a> which recently came out with an initial open-source, cross-platform version,
and by connecting them together, gives you the power to create any solution you were asked to, no matter if you are a programmer, an IT or a DevOps guy.
</span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<pre class="highlight" style="border-radius: 0; font-size: 12px">
<code class="language-javascript">const shell = require('node-powershell');
let ps = new shell({
executionPolicy: 'Bypass',
noProfile: true
});
ps.addCommand('echo node-powershell')
ps.invoke()
.then(output => {
console.log(output);
})
.catch(err => {
console.log(err);
ps.dispose();
});</code></pre>
<div class="highlight" style="border-radius: 0; padding: 1em; text-align: center;">
<a target="_blank" href="http://cdn.rawgit.com/rannn505/node-powershell/236b6c3a/docs/docs.html">
<img width="64" src="http://icons.iconarchive.com/icons/dtafalonso/android-lollipop/512/Docs-icon.png" alt="API reference">
<span style="font-size: 30px; vertical-align: middle;">Documentation</span>
</a>
</div>
</div>
<div class="col-md-4 hidden-xs hidden-sm" style="margin: .5em 0">
<img src="https://raw.githubusercontent.com/rannn505/node-powershell/master/assets/run.gif" width="100%"/>
</div>
<div class="col-md-4" style="text-align: center;">
<img src="https://raw.githubusercontent.com/rannn505/node-powershell/master/assets/box.png" width="100%"/>
</div>
</div>
<div class="row" style="margin: 20px -15px 0 -15px">
<div class="col-md-12" >
<div class="highlight" style="border-radius: 0; text-align: center; padding: 1em;">
<span>© 2017 by <a href="mailto:[email protected]">Ran Cohen - rannn505</a>.</span>
<img src="https://s.gravatar.com/avatar/9dead8d77f6134c58065ee39f499d3fd?size=100&default=retro" style="width: 25px; height: 25px" alt="rannn505">
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/prism.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.6.0/components/prism-javascript.min.js"></script>
</body>
</html>