Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dustinspecker/dscript-doc
dscript with doc-jsx setup done for you
https://github.com/dustinspecker/dscript-doc
Last synced: 2 days ago
JSON representation
dscript with doc-jsx setup done for you
- Host: GitHub
- URL: https://github.com/dustinspecker/dscript-doc
- Owner: dustinspecker
- License: mit
- Created: 2016-03-03T03:48:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-28T20:12:51.000Z (over 7 years ago)
- Last Synced: 2024-11-01T23:04:03.730Z (6 days ago)
- Language: JavaScript
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# dscript-doc
[![NPM version](https://badge.fury.io/js/dscript-doc.svg)](https://badge.fury.io/js/dscript-doc) [![Build Status](https://travis-ci.org/dustinspecker/dscript-doc.svg)](https://travis-ci.org/dustinspecker/dscript-doc) [![Coverage Status](https://img.shields.io/coveralls/dustinspecker/dscript-doc.svg)](https://coveralls.io/r/dustinspecker/dscript-doc?branch=master)[![Code Climate](https://codeclimate.com/github/dustinspecker/dscript-doc/badges/gpa.svg)](https://codeclimate.com/github/dustinspecker/dscript-doc) [![Dependencies](https://david-dm.org/dustinspecker/dscript-doc.svg)](https://david-dm.org/dustinspecker/dscript-doc/#info=dependencies&view=table) [![DevDependencies](https://david-dm.org/dustinspecker/dscript-doc/dev-status.svg)](https://david-dm.org/dustinspecker/dscript-doc/#info=devDependencies&view=table)
> [dscript](https://github.com/dustinspecker/dscript) with [doc-jsx](https://github.com/dustinspecker/doc-jsx) setup done for you
**Check out [dscript](https://github.com/dustinspecker/dscript) for documentation on more advanced usage.**
## Install
```
npm install --save dscript-doc
```## Usage
```javascript
import {div, li, ul} from 'dscript-doc'const handleClick = () => alert('hi')
const component = (
div('.list-container', {onClick: handleClick}, [
ul([
li(['task 1']),
li(['task 2']),
li(['task 3'])
])
])
)
```## LICENSE
MIT © [Dustin Specker](https://github.com/dustinspecker)