npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jre-client-side

v1.1.6

Published

Client side library for JRE

Downloads

19

Readme

JRE-Client-Side

Guide Followed

Change Log

1.1.5

7/24/2024

  • Bug fix for ObjectsEqual function

1.1.4

3/27/2024

  • Added SetErrorPageStorage function
  • Added ObjectsEqual function that checks if an object is equal to another
  • Added DownloadFileFromFetch function that takes the response object from a fetch request and then downloads the file to the user's browser
  • Added a required CSS class for labels that adds a red asterisk after the label

1.1.3

3/2/2024

  • Added FetchGetZipFile method to download a zip file from a controller
    • Had to use Fetch instead of AJAX due to blob/error handling
    • Used just like the other GET,POST,PUT,DELETE methods

1.1.0

1/5/2024

  • Added early version of JRE-PDF for embedding PDFs into web pages
    • More documentation and improvements coming soon but main functionality should stay the same
  • Replaced deprecated document.ready calls

1.0.16

12/18/2023

  • Should be a fix for sometimes getting an error when calling ClearLocalCache on mobile

1.0.15

12/11/2023

  • Added customized pdf.js library with HTML viewer for embedded PDF editing/filling

1.0.14

12/7/2023

  • Changed GoToError to be ProcessError so that it is clearer what is doing (not just redirecting to an error)
    • Kept GoToError but marked it as deprecated so intellisense will warn you. Will remove eventually
  • Fixes to JRE-Speech to work on iOS/iPadOS

1.0.13

11/15/2023

  • Commented LoadStyleSheet calls in JRE-Files and JRE-Speech
  • Added null check to GoToError

1.0.12

10/30/2023

  • Changed dynamic loading of scripts to point to lib instead of a CDN
  • Added ClearLocalCache function to JRE.js. This required a ClearLocalCache function in the CommonController

1.0.11

10/10/2023

  • Added custom "date" type for stupidtable sorting
    • To use the date type, just set the attribute data-sort="date" on the th
  • Added JRE-TableNav.js to allow for navigating through a table using the arrow keys similar to excel
    • To enable it on a table
      $('#MyTable input, #MyTable textarea').on("keydown", function (e) {
          DetectArrowKey(e);
      });

1.0.10

10/10/2023

  • Modified table sorting on load to allow for sorting tables that do not have an id attribute defined

1.0.9

9/28/2023

  • Bug fix

1.0.8

9/28/2023

  • JRE-Files.js

    • Changed constructor to take an object to allow for multiple optional params
    • Added ability to define whether it takes multiple files or not
    • Added custom label
    • Added custom file size limit
    • Added loading of BS Icons stylesheet for you if it is not already found
    • Improved styling
    • Removed old code and comments
  • JRE.js

    • Added showing of toasts on page load so you dont have to do this manually (supports adding toasts to layout file)
    • Modified PostBtnEnable to hide all .postSpinner to support calling it in GoToError
      • Should not cause issues as only one should be spinning at a time
      • Could also use the postBtnFilter param if you need to filter down to a specific spinner
    • Added AJAX methods for PUT and DELETE
    • Modified LoadScript to check if the script is already references in the page before loading it
    • Added LoadStyleSheet similar to LoadScript
    • Added the following toast helper functions
      • ShowSuccessToast
      • ShowErrorToast
      • SetSuccessToastStorage
      • SetErrorToastStorage
  • JRE-Speech.js

    • Added speech-to-text functionality
    • Just need to add "jre-speech" class to controls where you want speech-to-text
    • Basic Examples:
      <input class="jre-speech" />
      <textarea class="jre-speech"></textarea>