UNPKG
fix-orientation
Version:
latest (1.1.0)
1.1.0
1.0.0
0.0.2
0.0.1
0.0.0
Rotate images if their exif data says so.
github.com/Wayla/fix-orientation
Wayla/fix-orientation
fix-orientation
/
example
/
server.js
8 lines
(6 loc)
•
202 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
http =
require
(
'http'
);
var
ecstatic =
require
(
'ecstatic'
);
var
server = http.
createServer
(
ecstatic
(__dirname)); server.
listen
(
8005
,
function
(
) {
console
.
log
(
'open http://localhost:8005/'
); });