1.0.2-patch.0 • Published 5 years ago

@railrunner16/raildash v1.0.2-patch.0

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

RailDash is a utility library for JavaScript. It can be used to replace quite a few functions found in Lodash and Underscore. The goal of this project is to replace both projects entirely, and provide JavaScript developers with everything they need to create beautiful applications.

Installation:

Node

NPM:

npm i -s @railrunner16/raildash

Yarn:

yarn add @railrunner16/raildash

Bower:

bower install raildash

Browser

UNPKG:

Put this in your head, before all other scripts:

<script src="//unpkg.com/@railrunner16/raildash"></script>

JsDelivr:

Put this in your head, before all other scripts:

<script src="//cdn.jsdelivr.net/gh/railrunner16/raildash/dist/raildash.js"></script>

Ruby

Rails:

Install the gem raildash, then put this in your manifest:

//= require 'raildash'

But, why?

When I first looked at the Lodash source, I couldn't understand half of what I was reading, just in the camelCase source, not to mention other parts of the code. When I looked at Underscore, I found functions like _.eq() to be way to bulky, especially if you plan to use them for just one use case.

Solution? I wrote my own library, that, instead of overcomplicating things, keeps its source modular, but still readable. Also, instead of doing stupid stuff like having one function to compare equality, it has separate methods, like _.Iter.arrayEquals() for array comparison, and _.Iter.deepEquals() for object comparison. Another bonus of RailDash is that similar utilities are namespaced together. This also allows for importing just the utilities you need, for example:

import { String as _.String } from 'raildash';

Donations:

I don't make much money, if any, from projects I create. I would immensely appreciate it if you donated to my liberapay. This always goes towards things like VPS hosting, or other services to further the development of my projects.

1.0.2-patch.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0-patch.0

5 years ago

1.0.0-readme.0

5 years ago

1.0.0

5 years ago

0.1.3-patch.8

5 years ago

0.1.3-patch.1

5 years ago

0.1.3-patch.0

5 years ago

0.1.3-readme.0

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7-bug1

5 years ago

0.0.7

5 years ago

0.0.6-readme3

5 years ago

0.0.6-readme2

5 years ago

0.0.6-readme1

5 years ago

0.0.6

5 years ago

0.0.5-crit-bug

5 years ago

0.0.5

5 years ago

0.0.4-bug1

5 years ago

0.0.4

5 years ago

0.0.3-readme1

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1-bug1

5 years ago

0.0.1

5 years ago