Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 507 Bytes

File metadata and controls

41 lines (34 loc) · 507 Bytes

A collection of JavaScript utility functions.

Install

npm install mscratch-utils

Usage

import { env } from 'mscratch-utils';

let isMobile = env.mobile();

API

env

  • env.iOS()
  • env.android()
  • env.blackBerry()
  • env.winphone()
  • env.ipad()
  • env.androidPad()
  • env.mobile()
  • env.phone()
  • env.pc()

mscratch

rj25

mDom

mEncoder

mEvent

mGoog

mMath

mPolyfill

mSignature

mString

mStyle

mTime

mObject