string-any
string-any
is a package to convert any object to a string and not [object Object]
Usage
const toStr = ;// objects;// => "{// => name: "name",// => id: 32918,// => randomThing: {// => dwq: "hello"// => },// => func: () => "hello"// => }"// functions// => "() => {}"// numbers// => "10"// Strings// => '"hello"'// String Objects// => "hello"// Arrays// => "[1, 2, 3]"
LICENSE
MIT License
Copyright (c) 2019 AliBasicCoder