Sign in
apache
/
cordova-browser
/
refs/tags/rel/5.0.1
/
.
/
node_modules
/
mime
/
build
/
build.js
blob: ed5313e3ceba4c4b84caac1d1a47d9cc70fa53d8 [
file
] [
log
] [
blame
]
var
db
=
require
(
'mime-db'
);
var
mapByType
=
{};
Object
.
keys
(
db
).
forEach
(
function
(
key
)
{
var
extensions
=
db
[
key
].
extensions
;
if
(
extensions
)
{
mapByType
[
key
]
=
extensions
;
}
});
console
.
log
(
JSON
.
stringify
(
mapByType
));