mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-12-11 08:24:31 +01:00
1ada95e04a
- Convert project to Javascript/Typescript - Allow custom headers to be passed in (optional) - Allow body to be optional
8 lines
143 B
JavaScript
8 lines
143 B
JavaScript
'use strict'
|
|
|
|
var scan = require('./scan')
|
|
var parse = require('./parse')
|
|
|
|
module.exports = function (source) {
|
|
return parse(scan(source))
|
|
}
|