php-array-parser

Parse a PHP array.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
php-array-parser
1.0.17 years ago7 years agoMinified + gzip package size for php-array-parser in KB

Readme

PHP array Parser

Parse a PHP array into JavaScript!


Build Status

Installation

npm install php-array-parser

Usage

const parser = require('php-array-parser')
parser.parse(`
  array(
    "foo" => "bar",
    "bar" => "foo",
  );
`)

// > { foo: 'bar', bar: 'foo' }

Tests

npm run test