UNPKG
sea-ports
Version:
latest (0.0.9)
0.0.9
0.0.8
0.0.7
Sea Ports JSON Data
github.com/marchah/sea-ports
marchah/sea-ports
sea-ports
/
index.js
16 lines
(12 loc)
•
257 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict'
;
const
ports =
require
(
'./lib/ports.json'
);
function
getByUnloc
(
unloc
) {
return
ports[unloc]; }
module
.
exports
= {
JSON
: ports,
getByUnloc
: getByUnloc,
getByUNLOC
: getByUnloc,
findByUnloc
: getByUnloc,
findByUNLOC
: getByUnloc, };