utilify-js
Global and most common helpers for javascript
Last updated a year ago by zeindelf .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install utilify-js 
SYNC missed versions from official npm registry.

Build Status npm version David

Utilify.js

Global and most common helpers for javascript

Table of contents

Main

dist/
├── utilify.js        (UMD)
├── utilify.min.js    (UMD, compressed)
├── utilify.common.js (CommonJS, default)
└── utilify.esm.js    (ES Module)

Getting started

Direct download

Download the script here and include it.

<script type="text/javascript" src="utilify.min.js"></script>

Package Managers

Utilify.js supports npm under the name utilify-js.

npm install utilify-js --save

Module Loaders

Utilify.js can also be loaded as an CommonJS or ES6 module (recomended).

// CommomJS
var Utilify = require('utilify-js');

// ES6 module
import Utilify from 'utilify-js';

Usage

With UMD (Universal Module Definition), the package is available on global var UtilityJS.

// Initialize constructor
var utilify = new UtilifyJS();

// GlobalHelpers
var globalHelpers = utilify.globalHelpers;

// LocationHelpers
var locationHelpers = utilify.locationHelpers;

External Libs

Store2

Docs for Store2 can be found on original repository: https://github.com/nbubna/store

Version inside is: v2.7.0

Usage:

// Store2
var store = utilify.storage;

JavaScript Cookie

Docs for JavaScript Cookie can be found on original repository: https://github.com/js-cookie/js-cookie

Version inside is: v2.2.0

Usage:

// JavaScript Cookie
var cookies = utilify.cookies;

Methods

Tests

Tests are using mocha. To run the tests use:

$ npm test

License

Utilify.js is open-sourced software licensed under the MIT license.

Dependencies

jQuery 1.8.3+ and GMaps API for locationHelpers.getUserLocation() method

Current Tags

  • 0.10.1                                ...           latest (a year ago)

22 Versions

  • 0.10.1                                ...           a year ago
  • 0.10.0                                ...           a year ago
  • 0.9.0                                ...           a year ago
  • 0.8.0                                ...           a year ago
  • 0.7.1                                ...           a year ago
  • 0.7.0                                ...           a year ago
  • 0.6.0                                ...           a year ago
  • 0.5.2                                ...           a year ago
  • 0.5.1                                ...           a year ago
  • 0.5.0                                ...           a year ago
  • 0.4.0                                ...           a year ago
  • 0.3.6                                ...           a year ago
  • 0.3.5                                ...           a year ago
  • 0.3.4                                ...           a year ago
  • 0.3.3                                ...           a year ago
  • 0.3.2                                ...           a year ago
  • 0.3.1                                ...           a year ago
  • 0.3.0                                ...           a year ago
  • 0.2.1                                ...           a year ago
  • 0.2.0                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 7
Dependencies (17)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |