Skip to content

The Helper JS - a lot of JS helper functions that are ready to help in your project

Notifications You must be signed in to change notification settings

vickzkater/the-helper-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

The Helper JS

The Helper JS

The Helper JS - a lot of JS helper functions that are ready to help in your project

Function List

  • readURL (for displaying image after browse it before uploaded)
  • reset_img_preview (for reset image preview to default image (no image))
  • replace_all (for replaces some characters with some other characters in a string)
  • number_format (formats a number with grouped thousands)
  • copy_to_clipboard (copy text to the clipboard)
  • open_window (to open a new window)
  • set_param_url (set URL parameters)
  • numbers_only (sanitizing value of number)
  • username_only (sanitizing value of username - only allow alphanumerics, (.) dot, and (*) underscore)
  • alphanumerics_only (sanitizing value of text - only allow alphanumerics and whitespace)
  • datetime_format (for get date & time value)
  • alphabet_only (sanitizing value of text - only allow alphabet and whitespace)
  • viewable_password (for show/hide input password)
  • scroll_to_elm_id
  • validate_file_size

How-to-Use

You can include this JS file into your project

Then you can use the function in "thehelper.js"

Contributing

Thank you for considering contributing to the "The Helper JS".

Bugs, Improvements & Security Vulnerabilities

If you discover a bug or security vulnerability within "The Helper JS", please send an email to Vicky Budiman at vicky@kiniditech.com. All requests will be addressed promptly.

Issues

If you come across any issue/bug please report them here.

License

The Helper JS is open-sourced software built by KINIDI Tech and contributors and licensed under the MIT license.

Credits

Brought to you by

KINDI Tech

KINIDI Tech

About

The Helper JS - a lot of JS helper functions that are ready to help in your project

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published