Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F101768336
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
Thu, Feb 13, 12:32
Size
328 B
Mime Type
text/x-Algol68
Expires
Sat, Feb 15, 12:32 (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