1.0.8 • Published 3 years ago

tthings v1.0.8

Weekly downloads
8
License
-
Repository
-
Last release
3 years ago

Demos

PLayground Netlify
Demo JSBin UMD
Demo Codesandbox ESM
Demo React Codesandbox

$ npm i jsnview
// or
$ yarn add jsnview

Usage

import jsnview from 'jsnview';
import 'jsnview/build/index.css';

Or include it via jsDelivr CDN (UMD):

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/jsnview@1.0.6/build/index.css" />
<script src="https://cdn.jsdelivr.net/npm/jsnview@1.0.6/build/index.min.js"></script>
<!-- Access via global object : window.jsnview -->

Methods && Examples

  • jsnview(data: Object, options: Object): HTMLElement
    Valid dataTypes: json, pure object or array
    Default object options (optional): { displayItemsLen:true , displayTypes:true }
let data = { name: 'Mike', age: 22 }; 

jsnview(data, { displayItemsLen: true , displayTypes: true });
// returns HTMLElement

Notes

  • All pull requests are welcome, feel free.

Author

License

Apache License 2.0

1.0.8

3 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

5 years ago

1.0.0

5 years ago