UNPKG
ape-releasing
Version:
latest (5.0.7)
5.0.7
5.0.6
5.0.5
5.0.4
5.0.3
5.0.2
5.0.1
5.0.0
4.0.4
4.0.3
4.0.2
4.0.1
3.1.1
3.1.0
3.0.9
3.0.8
3.0.7
3.0.6
3.0.5
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0
2.0.1
2.0.0
1.1.2
1.1.1
1.1.0
1.0.17
1.0.16
1.0.15
1.0.14
1.0.13
1.0.12
1.0.11
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
ape framework module for releasing tasks.
github.com/ape-repo/ape-releasing
ape-repo/ape-releasing
ape-releasing
/
lib
/
_parse_options.js
12 lines
(9 loc)
•
254 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
'use strict'
const
stringcase =
require
(
'stringcase'
)
module
.
exports
=
function
_parseOptions
(
options
) {
let
parsed = {}
Object
.
keys
(options || {}).
forEach
(
(
key
) =>
{ parsed[ stringcase.
camelcase
(key) ] = options[ key ] })
return
parsed }