fd-velem

1.0.0 • Public • Published

fd-velem

Build Status npm version

Create virtual dom elements FP-style!

Installation

npm install fd-velem --save

Usage

import velem from 'fd-velem';
 
var div = velem('div')({})(['Hello World']);
 

API

velem :: (tagName, content)

  • tagName -> string: type of element to be created.

  • content -> string: Contents of the newly created element.

Readme

Keywords

Package Sidebar

Install

npm i fd-velem

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • schtoeffel
  • hemanth