npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

space-pencil

0.3.0 • Public • Published

Space Pencil

The only feature this library currently has is an element builder with the same DSL as SpacePen, but it returns a raw DOM element rather than a jQuery fragment.

It's exported as $$:

{$$} = require 'space-pencil'
 
element = $$ ->
  @div class: "greeting"->
    @h1 ->
      @text "Hello"
      @span "World"

Keywords

install

npm i space-pencil

Downloadsweekly downloads

5

version

0.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability