Unwrap the values in a JSONP function.
Install
npm install unwrap-jsonp
Usage
const unwrapJsonp = //=> {a: "b"} //=> ["a", "b"]
API
unwrapJsonp(data, options?)
data
Type: string
The jsonp to parse.
options
Type: object
multiArgs
Type: boolean
Default: false
Return an array of the function arguments instead of just the first one.