Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    fd-velempublic

    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.

    install

    npm i fd-velem

    Downloadsweekly downloads

    3

    version

    1.0.0

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar