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

laroux.js

v2.1.1

Published

A jquery substitute for modern browsers

Downloads

7

Readme

laroux.js

laroux.js logo

This project is a jQuery substitute for modern browsers and mobile devices. But instead of offering some wrappers and own dynamics, it simply provides helper functions to achieve the same objectives as jQuery or Zepto.

Even though keeping compactness is the primary concern of this library, it does contain lightweight versions of some concepts/components, including MVC.

So far, it has Ajax, Date, Deferred, Events, Helpers, Stack, Templates, Timers, Vars and When components on its core.

Additionally Anim, CSS, DOM, Forms, Keys, MVC and Touch will be available in web bundle.

Build Status Scrutinizer Quality Score Coverage Status

For Users

laroux.js is right for you if you:

  • Complain about people who do not know the difference between jQuery and Javascript.
  • Love working with more compact, organized libraries in smaller sizes (~45K).
  • Want to be working with native DOM objects instead of wrappers.
  • Want to leverage the debug console's autocomplete/fluent typing.
  • Are not satisfied with the performance of other libraries on mobile devices.
  • Looking for a light abstraction layer to build your toolkit on.
  • See FAQ for more.

Guides

Installation

The latest version is always downloadable from releases page.

The required file (laroux.min.js can also be found at rawgit.com.

Including these files would be enough to start using laroux.js (or laroux.min.js) in your web project. For example:

<script src="//rawgit.com/eserozvataf/laroux.js/master/build/dist/web/laroux.min.js"></script>

Sample Usage


$l.ready(function() {
    var buttons = $l(['.confirm-action']);

    $l.css.setProperty(buttons, 'background-color', 'crimson');
    $l.dom.setEvent(
        buttons,
        'click',
        function(event, element) {
            if (!confirm('Are you sure to do it?')) {
                return false; // cancel event
            }
        }
    );
});

For Developers Who Want To Contribute

Installation

Alternative 1: Zip Package

Download the package and launch npm install && gulp.

Alternative 2: Git

On Terminal or Command Prompt:

git clone https://github.com/eserozvataf/laroux.js project
cd project
npm install
gulp

Requirements

  • NPM (https://npmjs.org)
  • Gulp (http://gulpjs.com)

License

See LICENSE

Contributing

See contributors.md

It is publicly open for any contribution. Bugfixes and suggestions are welcome.

  • Fork the repo, push your changes to your fork, and submit a pull request.
  • If something does not work, please report it using GitHub issues.