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

@jugstalt/jextend

v0.2.1

Published

A lightweight JavaScript library alternative to jQuery

Downloads

3

Readme

jExtend - A Lightweight JavaScript Library (beta)

jExtend (jExt) is a lightweight JavaScript library designed to simplify the client-side scripting of HTML. Its primary motivation is to offer a minimalistic alternative to jQuery, providing the most commonly used features without the overhead of a larger library. jExt aims to be fast, efficient, and easy to use while maintaining compatibility with existing jQuery projects.

jExtend is a lightweight JavaScript framework that provides many useful features for web application development. Compared to jQuery, which is a more widely-known library, jExtend is significantly smaller in size. The full minified version, jextend-full.min.js, is only around 10kB. This makes it an excellent choice for developers who want to minimize the overall size of their web applications without sacrificing essential functionality.

By using jExt, developers can enjoy the benefits of a smaller framework that still delivers on key features. This can lead to faster load times and better overall performance for web applications, making it an attractive option for those looking to optimize their projects.

NOTE: This is a beta version an not for production! You can try and give feedback, Thx

  • Select elements:
    $('#myElement')
  • Manipulate DOM:
    $('#myElement').html('Hello, World!')
  • Handle events:
    $('#myButton').on('click', () => alert('Button clicked!'))
  • Perform Ajax requests:
    $.ajax({ url: 'https://api.example.com/data', success: data => console.log(data) })

Table of Contents

  1. Introduction
  2. Getting Started
  3. Core
  4. Selectors
  5. DOM Manipulation
  6. Events
  7. Ajax
  8. Utilities
  9. Extensions

Introduction

jExtend (jExt) is a lightweight and efficient JavaScript library designed to provide a more accessible and user-friendly experience for developers who are looking to utilize some of the most essential features found in jQuery. By focusing on a minimalistic approach, jExt ensures that it remains quick and efficient without sacrificing the core functionality that developers have come to expect.

Getting Started

To get started with jExt, simply include the library in your project and start using the jExt (or $) function to access and manipulate the DOM, handle events, perform Ajax requests, and more.

For more detailed information on each feature, check out the corresponding documentation pages linked in the Table of Contents above.

If you have existing projects using jQuery, you can do something like this, after you have loaded the libraries:

<script type="javascript">
    
    window.$ = jExt;

    // replace jQuery to jExt in your code or for testing/trying use this line
    window.jQuery = jExt;

</script>

Note, that not all methods from jQuery are implemented in jExtend. Maybe you have change your code in some places

Next: Core