js-spark-md5
Lightning fast normal and incremental md5 for javascript (by satazor)
mrujs
UJS for modern javascript. (by KonnorRogers)
js-spark-md5 | mrujs | |
---|---|---|
2 | 5 | |
2,534 | 166 | |
1.3% | 0.0% | |
0.0 | 5.4 | |
over 1 year ago | 7 months ago | |
JavaScript | TypeScript | |
Do What The F*ck You Want To Public License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
js-spark-md5
Posts with mentions or reviews of js-spark-md5.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-31.
-
Rebuilding ActiveStorage: First Impressions
ActiveStorage uses the SparkMD5 library for MD5 hashing. I don't know enough about the library to know if MD5 is necessary or if we could use SHA-x hashing or similar. SparkMD5 is roughly 2.5kb and ActiveStorage is ~5kb overall, which means MD5 hashing accounts for roughly half the library.
-
How I improved my React Native app 50x faster
However, RN has still a lack of binary support. Unlike NodeJS, RN doesn't come with native modules for dealing with binary data out of the box, like crypto and Buffer. When it comes to processing binary data, calculating a digest hash like SHA-1 and MD5 and converting from/to hex and base64 are popular tasks. To accomplish those tasks, you have to use JavaScript libraries like spark-md5 and buffer. If you need crypto module, you have to install rn-nodeify and a bunch of polyfill libraries, which eventually messes up your project and makes it hard to maintain. So, implementing the end-to-end encryption in React Native has been a big challenge for me.
mrujs
Posts with mentions or reviews of mrujs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-10-31.
-
Rebuilding ActiveStorage: First Impressions
ActiveStorage's JS package seems to reuse a lot of Rails-UJS functions but gets none of the benefits of sharing code. Even better, ActiveStorage could share with the package I created, mrujs.
- Is there yet a Stimulus drop-in replacement for @rails/ujs?
-
Hotwire Turbo Replacing Rails UJS
Use mrujs, as a turbo compatible drop in replacement for ujs, no need to replace all the data-* funcionality, see https://github.com/ParamagicDev/mrujs/
-
Modern Rails flash messages (part 3): Refactoring with Turbo
BTW you should check out mrujs as a modern replacement for UJS. Konnor Rogers did an amazing job there.
What are some alternatives?
When comparing js-spark-md5 and mrujs you can also consider the following projects:
nodejs-mobile - Full-fledged Node.js on Android and iOS
modern-rails-flash-messages - Modern Rails flash messages - Example App
react-native-quick-base64 - A fast base64 module for React Native
turbo - The speed of a single-page web application without having to write any JavaScript
react-native-quick-md5 - Fast C++ implementation with JSI binding of MD5 for React Native
turbo - Build system optimized for JavaScript and TypeScript, written in Rust [Moved to: https://github.com/vercel/turborepo]