1.0.1 • Published 4 years ago

@swordev/php-unserialize v1.0.1

Weekly downloads
63
License
MIT
Repository
github
Last release
4 years ago

php-unserialize-js

PHP unserialize function for JavaScript.

Installation

npm install @swordev/php-unserialize

Usage

import { unserialize } from "@swordev/php-unserialize"

unserialize(`key|s:11:"hello world";`) // { key: "hello world" }

Contributing

To contribute to the project, follow these steps:

  1. Fork this repository.
  2. Create a branch: git checkout -b <branch_name>.
  3. Make your changes and check them: npm run prepare.
  4. Commit your changes: git commit -m '<commit_message>'.
  5. Push to the original branch: git push origin <branch_name>.
  6. Create the pull request.

Alternatively see the GitHub documentation on creating a pull request.

Forked project

This project was forked from node-php-session-unserialize because it had bugs (ed06e76, 7fa1b48) and it was not being maintained.

License

Distributed under the MIT License. See LICENSE for more information.