Utils

Utils

npm version Code Climate Test Coverage Issue Count Donate

Utils for working with DOM, Window, Screen and etc.

Build

The repository contains pre-compiled files, but if you want to add your files and compile, then run the following commands in the repository folder.

  • npm install
  • npm run production

or

  • npm run development

The build required NodeJs version 6 or higher.

Usage

import Utils from "Utils.ts";

Utils.Document.getHeight();

or

let Utils = required("Utils.js");

Utils.Document.getHeight();
Läser och lämnar kommentarer