array-function
Read JS function from JSON(Array) data.
Last updated 5 years ago by kchan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install array-function 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

2 Versions

  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)

Copyright 2014 - 2016 © taobao.org |