Skip to content

Latest commit

 

History

3 提交

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

仓库 files navigation

Javascript PHP Array

Greenkeeper badge Use php array style in javascript

How to use

  1. Install php-array from npm. npm install --save php-array
  2. require or import php-array to your code. Example:
const phparray = require('php-array')

phparray(`
[
  name => 'john doe',
  email => 'johndoe@test.com'
]
`) // it's return {name: 'john doe', email: 'johndoe@test.com'}

LICENSE

MIT LICENSE

关于

Convert php array style into javascript object

Topics

Resources

Stars

1 star

关注者

0 watching

复刻s

发布

Used by

贡献者

Languages