a module for sioux projects containing the basic features

npm install sioux-global
12 downloads in the last week
24 downloads in the last month


More info from sioux:

The collection of basic features that are important and useful for working with the other parts of the sioux project. It is optional to make it global, but it is recommended. The features listed after, are basically just shorthands to the DOM ones.

var $ = require('sioux-global');
// window.$ = $;


  .on('tap', function () {
  .on('touchleave', function (event) {
  .css('color', 'red')
    'border-radius': '5px'
    , 'border': '1px solid red'

$(selectorText, parentElement)

matches the elements with the selectorText, if parentElement defined it will query in it

on(eventName, handler)

adds an event handler to the matched elements

off(eventName, handler)

removes the event handler from the matched elements


pretty much same as in jquery

npm loves you