Skip to content

A node package who contains my usual utility functions and class for Javascript.

Notifications You must be signed in to change notification settings

Steve-VE/zbx-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zbx-javascript

Some Javascript functions and class I share between my differents projects. Feel free to use it too !

Getting Started

Prerequisites

You need npm to install it.

Installing

Just get the package

npm install -S zbx-javascript

You'll get the files into node_modules/zbx-javascript.

Functions

Mathematical functions

radians( value ) : return the value from degrees to radians

constrain( value, min, max ) : return the value, but never lower than min and never higher than max

random( min, max, integer? ) : return a random number between the min and max. If integer is true, the returned number will be a int

User functions

defineNavigator() : return a string (Edge, Chrome or Firefox) or undefined

Class

HaloContainer

Make moving some halo in the background of a HTMLElement.

Versioning

We use SemVer for versioning.

Authors

About

A node package who contains my usual utility functions and class for Javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published