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

oh-wheel

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

oh-wheel

Preact-like JavaScript library for building modern user interfaces.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

oh-wheel

Preact-like JavaScript library for building modern user interfaces.

Unit Tests

compose

  • composes from right to left
  • composes functions from right to left
  • throws at runtime if argument is not a function
  • can be seeded with multiple arguments
  • returns the first given argument if given no functions
  • returns the first function if given only one

h

  • should return a VNode
  • should preserve raw attributes
  • should support element children
  • should support multiple element children, given as arg list
  • should handle multiple element children, given as an array
  • should handle multiple children, flattening one layer as needed
  • should support nested children
  • should support text children
  • should support number children
  • should merge adjacent text children
  • should merge nested adjacent text children
  • should not merge children that are boolean values
  • should not merge children of components

FAQs

Package last updated on 24 Feb 2018

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