1.0.14 • Published 10 years ago

exposure-utils v1.0.14

Weekly downloads
15
License
ISC
Repository
github
Last release
10 years ago

Dom and Javascript Utilites

A lightweight, modern javascript utility node module, for simplifying some basic functions and providing a cross browser dom manipulation API.

This library is by no means perfect, extensive or complete. So if you think of a feature/spot a bug, pull request that shit!


Install

	// Might need to install with Admin privileges (sudo).
	npm install exposure-utils

Useage

Require the package and immediately invoke it to have access to the API.

	var utils = require('exposure-utils')();

Equally you can instantiate it with the new keyword. Here's an example.

    var Utils = require('exposure-utils');
    var $ = new Utils();
    
    var array = ['item 1', 'item 2', 'item 3'];
    $.each(array, function(item, index) {
        console.log(item, index);
    });
    
    /**
    Output -
    item 1, 0
    item 2, 1
    item 3, 2
    **/

Browser Support

IE 9+

API

API docs here, API Reference

1.0.14

10 years ago

1.0.13

10 years ago

1.0.12

10 years ago

1.0.11

10 years ago

1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago