{"name":"phpjs","version":"1.0.0","description":"php.js offers community built php functions in javascript","homepage":"http://phpjs.org","author":{"name":"Kevin van Zonneveld","email":"kevin@vanzonneveld.net"},"engines":{"node":">= 0.8.0"},"dependencies":{"cli":"~0.4.4-2","glob":"~3.2.1","send":"~0.1.0","deep-equal":"~0.1.2"},"keywords":["cli","console","test","phpjs"],"bugs":{"url":"https://github.com/kvz/phpjs/issues"},"repository":{"type":"git","url":"https://github.com/kvz/phpjs.git"},"scripts":{"test":"make test"},"_id":"phpjs@1.0.0","dist":{"shasum":"053d9b907979dfa5daaf4f43c5a6b125cf9555d0","tarball":"http://registry-npm.ywwl.com/phpjs/download/phpjs-1.0.0.tgz","integrity":"sha512-dU/Cx2FSMvcXDlMNmGuW52+UEAGQvj+zPk4ZCfeZIGhGVPy19teNiByu4onLpl2c/dYAxOAt+v/g1Ue7DXAEVQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFkaoh5bi0QoBSTGd+otyWSOz4Y4SR7wVf4X1YR2o7LAIhAMZQKXlGHg27dudZZ/0TDJOs/EW5L5yUIQ0d7yfbgh8J"}],"size":3354561,"noattachment":false,"key":"/phpjs/-/phpjs-1.0.0.tgz"},"_from":".","_npmVersion":"1.3.14","_npmUser":{"name":"kvz","email":"kevin@vanzonneveld.net"},"maintainers":[{"name":"sjricc","email":"sjricc@gmail.com"},{"name":"kvz","email":"kevin@vanzonneveld.net"}],"directories":{},"deprecated":"phpjs is no longer maintained. Please use Locutus instead: https://locutus.io","readme":"# php.js\n\n<!-- badges/ -->\n[![Build Status](https://secure.travis-ci.org/kvz/phpjs.png?branch=master)](http://travis-ci.org/kvz/phpjs \"Check this project's build status on TravisCI\")\n[![NPM version](http://badge.fury.io/js/phpjs.png)](https://npmjs.org/package/phpjs \"View this project on NPM\")\n[![Dependency Status](https://david-dm.org/kvz/phpjs.png?theme=shields.io)](https://david-dm.org/kvz/phpjs)\n[![Development Dependency Status](https://david-dm.org/kvz/phpjs/dev-status.png?theme=shields.io)](https://david-dm.org/kvz/phpjs#info=devDependencies)\n<!-- /badges -->\n\nphp.js is a resource that offers community-built JavaScript alternatives to PHP functions.\n\nMore info at: http://phpjs.org/about\n\n## Npm\n\n```bash\n$ mkdir test && cd $_\n$ npm install phpjs\n$ $EDITOR try.js\n```\n\n```javascript\nvar php = require('phpjs');\n\nphp.echo(php.sprintf('Hey, %s : )', 'you'));\nphp.echo(php.parse_url('mysql://kevin:abcd1234@example.com/databasename')['pass']);\nphp.echo(php.strtotime('2 januari 2012, 11:12:13 GMT'));\n```\n\n```bash\n$ node try.js\nHey, you : )\nabcd1234\n1325502733\n```\n\n## Testing\n\n\n### cli\n\n```bash\nmake test\n```\n\n```bash\nnode bin/phpjs.js --action test --name sort\nnode bin/phpjs.js --action test --category array\n```\n\n### Web\n\n```bash\nPORT=8080 node test/browser/server.js\n```\n\nPoint your webbrowser to http://localhost:8080\n\n\n## Sponsor development\n\n<!-- badges/ -->\n[![Gittip donate button](http://img.shields.io/gittip/kvz.png)](https://www.gittip.com/kvz/ \"Sponsor the development of phpjs via Gittip\")\n[![Flattr donate button](http://img.shields.io/flattr/donate.png?color=yellow)](https://flattr.com/submit/auto?user_id=kvz&url=https://github.com/kvz/phpjs&title=phpjs&language=&tags=github&category=software \"Sponsor the development of phpjs via Flattr\")\n[![PayPal donate button](http://img.shields.io/paypal/donate.png?color=yellow)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=kevin%40vanzonneveld%2enet&lc=NL&item_name=Open%20source%20donation%20to%20Kevin%20van%20Zonneveld&currency_code=USD&bn=PP-DonationsBF%3abtn_donate_SM%2egif%3aNonHosted \"Sponsor the development of phpjs via Paypal\")\n[![BitCoin donate button](http://img.shields.io/bitcoin/donate.png?color=yellow)](https://coinbase.com/checkouts/19BtCjLCboRgTAXiaEvnvkdoRyjd843Dg2 \"Sponsor the development of phpjs via BitCoin\")\n<!-- /badges -->\n","publish_time":1389974831380,"_cnpm_publish_time":1389974831380,"dist-tags":{"latest":"1.3.2"}}