UNPKG
castelog
Version:
latest (0.0.1)
0.0.1
Programación JavaScript en castellano.
github.com/allnulled/castelog
allnulled/castelog
castelog
/
src
/
lib
/
517.castelog.v1.metodos.un_servidor_http.js
7 lines
•
243 B
JavaScript
View Raw
1
2
3
4
5
6
7
Castelog
.
metodos
.
un_servidor_http
=
function
(
controlador, opciones
) {
if
(
typeof
window
===
"object"
) {
return
; }
else
if
(
typeof
global
===
"object"
) {
return
require
(
"http"
).
createServer
(controlador, opciones); } };