php-array
v0.0.1
Published
transform and convert php array style into javascript object
Downloads
2
Maintainers
Readme
Javascript PHP Array
Use php array style in javascript
How to use
- Install
php-array
from npm.npm install --save php-array
- require or import
php-array
to your code. Example:
const phparray = require('php-array')
phparray(`
[
name => 'john doe',
email => '[email protected]'
]
`) // it's return {name: 'john doe', email: '[email protected]'}
LICENSE
MIT LICENSE