Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101952528
index.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Feb 15, 13:04
Size
328 B
Mime Type
text/x-Algol68
Expires
Mon, Feb 17, 13:04 (2 d)
Engine
blob
Format
Raw Data
Handle
24226064
Attached To
R2664 SHRINE MedCo Fork
index.js
View Options
'use strict'
;
var
mapObj
=
require
(
'map-obj'
);
var
camelCase
=
require
(
'camelcase'
);
module
.
exports
=
function
(
input
,
options
)
{
options
=
options
||
{};
var
exclude
=
options
.
exclude
||
[];
return
mapObj
(
input
,
function
(
key
,
val
)
{
key
=
exclude
.
indexOf
(
key
)
===
-
1
?
camelCase
(
key
)
:
key
;
return
[
key
,
val
];
});
};
Event Timeline
Log In to Comment