array-function

0.0.1 • Public • Published

array-function NPM version NPM downloads Build Status

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

Readme

Keywords

Package Sidebar

Install

npm i array-function

Weekly Downloads

7

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kchan