Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository 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

About

Convert php array style into javascript object

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages