Crates.io | prettiest |
lib.rs | prettiest |
version | 0.2.1 |
source | src |
created_at | 2020-08-21 01:05:44.642902 |
updated_at | 2020-10-18 23:00:53.106182 |
description | Pretty-printer for JS values from wasm-bindgen. |
homepage | https://moxie.rs |
repository | https://github.com/anp/moxie.git |
max_upload_size | |
id | 278971 |
size | 15,052 |
prettiest provides pretty-printing Debug
and Display
impls
for Javascript values in the wasm-bindgen crate.
Prettified
sorts object properties for each prototype before printing.Prettified
prints functions for each prototype after the properties from that prototype and
before the properties of the preceding prototype.Pretty
trait offers a .pretty()
method to anything AsRef<JsValue>
.Prettified
implements Display
.Prettified::skip_property
allows deleting properties that aren't useful to print, like
timeStamp
.Pretty::Unknown
.Pretty
enum renamed to Prettified
to allow trait to be named Pretty
.Initial release. Only sort of works -- not recommended for use.