mol_dump_lib 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -20,3 +20,20 @@ Dumps any JS values.
20
20
  123
21
21
  456
22
22
  ```
23
+
24
+ ## NPM Usage
25
+
26
+ [Sandox](https://codesandbox.io/s/mol-dump-lib-8ly34z?file=/index.html)
27
+
28
+ ```js
29
+ import { $mol_view_component, $mol_dump_value } from "mol_dump_lib"
30
+ $mol_view_component( $mol_dump_value )
31
+ ```
32
+
33
+ ```html
34
+ <mol-dump-value value='{ "foo": 777 }'></mol-dump-value>
35
+ ```
36
+
37
+ ```js
38
+ el.view.value( [777] )
39
+ ```