Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 250 Bytes

README.md

File metadata and controls

15 lines (12 loc) · 250 Bytes

php-helper

用 Node.js 实现的常用 PHP 函数

安装

npm install --save php-helper

使用

const php = require('php-helper')
const md5 = php.md5('123456')
const jsonObj = php.json_decode('{"name":"your name","age":11}')