New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

woodoo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

woodoo

A simple and lightweight library for creating reactive, state-based UI.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

WooDoo

downloads version issues package size forks stars license programming language

A ~1.2kb (package size) alternative to React and Vue.

WooDoo is a simple and lightweight library for creating reactive, state-based UI. Features:

  • Template literals (Template strings) support
  • Event bindings
  • Efficient and fast
  • IE 11 and major browsers support (> 0.25%)

Getting Started

Use below template to get started.

<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>WooDoo Hello World!</title>
  </head>
  <body>
    <div id="app">App Placeholder</div>
    
    <script src="https://unpkg.com/woodoo"></script>
    <script>
      let app = new WooDoo({
          element: '#app',
          data: {
            text: 'Hello !',
          },
          template() {
            return `              
              <span>${this.text}</span>
            `
          }
        }
      )
      app.render()
    </script>
  </body>
</html>

If you would like to use ES modules, include below script in your app.

<script type="module" src="https://unpkg.com/woodoo/dist/esm/index-min.js"></script>

Demo

  • Mirror Typing
  • Counter
  • Stopwatch
  • ToDo list

Keywords

vue

FAQs

Package last updated on 24 Nov 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts