1.0.3 • Published 4 years ago

obect-to-string v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

object-to-string

This package has two function

  1. getObjectStringConsole: For getting output string for consoles

  2. getObjectStringHtml For getting output string for browsers or getting HTML content

Example:

const objToStr = require('obect-to-string');

const testSub = { "type": 2, "value": "test", "address": "string" };

console.log(objToStr.getObjectStringHtml(testSub)); Output:

console.log(objToStr.getObjectStringConsole(testSub));

Output: type = 2 value = test address = string

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago