@railrunner16/raildash

1.0.2-patch.0 • Public • Published

GitHub repo size in bytes GitHub last commit npm (scoped) npm Libraries.io for GitHub Travis (.org) Coveralls github GitHub top language
NpmLicense


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.

Donate using Liberapay

Package Sidebar

Install

npm i @railrunner16/raildash

Weekly Downloads

1

Version

1.0.2-patch.0

License

MIT

Unpacked Size

542 kB

Total Files

37

Last publish

Collaborators

  • railrunner16