obj-tz

6.2.1 • Public • Published

Quickstart

1. Install

npm
npm install obj-tz
yarn
yarn add obj-tz

2. Create a obj-tz (ES6 module syntax)

import objtz from 'obj-tz';
objtz.encode({a:1}); // ⇨ 'YjE4MTU5ZGRlZWU3YWQyNDVmYjBhMmUxOTIwYWJkZTk0Y2IxNWExMjp7ImEiOjF9'

... or using CommonJS syntax:

const objtz = require('obj-tz');
objtz.encode({a:1}); // ⇨ 'YjE4MTU5ZGRlZWU3YWQyNDVmYjBhMmUxOTIwYWJkZTk0Y2IxNWExMjp7ImEiOjF9'

Other options read on ...

API Summary

objtz.encode() Encode object New in obj-tz@1.0.4
objtz.decode() Decode object New in obj-tz@1.0.4

License

See the LICENSE file for licensing information.

Readme

Keywords

none

Package Sidebar

Install

npm i obj-tz

Weekly Downloads

9

Version

6.2.1

License

MIT

Unpacked Size

11.9 kB

Total Files

6

Last publish

Collaborators

  • quocthien3456