README
Read JS function from JSON data.
Install
$ npm install --save array-function
Usage
const arrayFunction = require('array-function')
const fn = arrayFunction(JSON.stringify(['foo', 'bar', 'zoo', {a: 1}]))
// return
{
name: 'foo',
args: ['bar', 'zoo', {a: 1}]
}
License
MIT © EGOIST