cash
jquery.terminal
cash | jquery.terminal | |
---|---|---|
19 | 16 | |
6,423 | 3,044 | |
- | - | |
4.5 | 8.8 | |
2 months ago | 3 days ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
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.
cash
-
pure javascript vs jquery vs react for a complex, downloadable text based browser game with state management?
Maybe a small JQuery clone like a Cash - https://github.com/fabiospampinato/cash or SurfJS https://surf.monster/ (Surf has a delay/queue, reactive templates) might help for writing less code and is still JavaScript
- Stack bun pentru extensie chrome+firefox
-
Migrate jQuery to VanillaJS - UpgradeJS.com
If stock jQuery seems too big and you have a lot of code you'd prefer not to waste time converting, try something like jQuery-slim or cash.
-
jQuery Terminal: JavaScript Web Based Terminal Emulator
It was initially released in 2010. But there is a plan to create version 3.0 that will be rewritten in TypeScript and without dependency on jQuery. The plan is to use a modern Cash library to not modify the code that much.
-
Developers with 20+ years of experience already know the drill
I find that cash.js does everything I need from Jquery and it's a fraction of the size, it's great to see advancements in technology to the point that you can fit that much functionality into 6KB
-
An Insanely small plugin extendable, reactive element template library with optional component based syntax that can also double as JQuery Alternative.
Yes but it's more than just that. In relation to DOM manipulation libs like JQuery it's small and on par with something like https://github.com/fabiospampinato/cash
-
The impact of removing jQuery on our web performance
If you are mainly using jquery for its DOM manipulation¹ rather than for browser compatibility² or things that didn't exist consistently in older browsers³ then there are much smaller libraries that do that job which may be worth looking into. https://github.com/fabiospampinato/cash or https://github.com/franciscop/umbrella to give a couple of examples. Some explicitly support IE11 so you are not dropping as much support for legacy browsers as you might otherwise.
Though if jQuery works for you and isn't a performance issue, then by all means keep with it. It may not be ideal, but good enough and does the job. Let the naysayers spend their time debating whether you should or not, and just get on with making things!
---
[1] selection engine, chained selections, chained modifications, …
[2] not the issue it once was, if you can abandon IE and old Android browsers from your supported UAs or can deal with any issues that crop up individually
[3] again, if you can afford to drop support for legacy UAs
-
Gov.uk drops jQuery from their front end
I think it's a bit of both. jQuery served the purpose of making web development more sane back in the day by handling all browser quirks. Part of that was the nice syntax.
I personally have tried to drop jQuery, but truthfully, its syntax is just much easier to use. Nowadays, I use Cash https://github.com/fabiospampinato/cash to give me the nice syntax without the bloat. It strikes the perfect balance for me.
-
What's still being done on the web today that irks you?
Taking a look at Cash so I don't have to rewrite a metric flock-ton of code. https://github.com/fabiospampinato/cash. Looking through the migration guide, I don't see any issues that affect my codebase (famous last words).
-
Replacing jQuery (110kb) With UmbrellaJS (8kb)
Cash's maintainer here. I don't think this is true actually.
Zepto supports some methods that Cash doesn't, but you probably shouldn't use them to begin with, like $.ajax, $.isArray, $.fn.animate etc. In 2022 either better built-in solutions exist or better specialized tiny libraries exist.
Everything that is supported by both Zepto and Cash should either work identically or Cash's implementation should be closer to jQuery's. Just to mention one thing in this regard you can run jQuery's test suite with Cash, and Cash's test suite with jQuery, easily [0]. I've done so and looked at every single failed test manually a few times, I doubt nearly the same level of attention went into Zepto. Just to mention one difference: Cash supports jQuery-style event namespacing, Zepto just doesn't support this.
[0]: https://github.com/fabiospampinato/cash/blob/272132a6dc1d885...
jquery.terminal
-
How to Create an Interactive Terminal-Based Portfolio
This article will show more advanced usage of the jQuery Terminal library. If you want something more basic, you can check this article: How to create interactive terminal like website with JavaScript that is written for more entry level programmers. You can also read it first before you begin reading this one.
-
May I see some of your projects? :)
Few of my Open Source projects: * jQuery terminal * LIPS Scheme * Gaiman * Sysend * Wayne
-
Hack to Run React Application inside Service Worker
But then I realized that I should probably will need to use jsDOM. This is the library that can be used in nodejs to mock the DOM. This is what jest testing framework is using and this is what I was using to test jQuery Terminal library in Jasmine before jest was created.
- jQuery Terminal: JavaScript Web Based Terminal Emulator
-
How to create interactive terminal like website with JavaScript?
Creating such a styled console website or fake terminal website is easier if you have a library that will give you the look and feel of the real terminal emulator, with a nice API to create commands, so you don’t need to create it from scratch. We will use the JavaScript Terminal library: jQuery Terminal, which gives a simple, but powerful API to create interactive terminals on any website. The library doesn’t use any HTML5 features and uses ES5 so it will work on any Browser even in IE11.
-
Explanation of the .ANS file format?
There is way more than in the Wikipedia article. I was implementing an interpreter for ANSI Art some time ago, maybe you will find it helpful. After a lot of struggle with my own parser using regular expressions, someone suggested that I should use a real parser which I use now. My project is in JavaScript and I used Node Ansi parser. It handles all ANSI escape code including cursor movements. There are no good documentation, I got help from one of the contributors that were also a contributor to the XTerm.js library. You can see my code that uses the library here: unix_formatting.js the file includes NodeAnsiParser.
-
How to make your own programming language in JavaScript
I've wanted to have my own programming language, that will make it easier to create text-based adventure games for my Open Source project jQuery Terminal. The idea for the language came after I've created a paid gig for one person, let's call him Ken, that needed this type of game, where the user interacted with the terminal and was asked a bunch of questions and it was like an adventure game, related to Crypo. The code I've written, that Ken needed, was data-driven by a JSON file. It was working nicely, Ken could easily change the JSON and have the game changed however he wanted. I've asked if I could share the code since it was a very cool project and Ken agreed that I can do that two months after he publish the game. But after a while, I've realized that I can have something much better. My own DSL language, that will make it simpler to create text-based adventure games. A person with a bit of programming knowledge like Ken, could easily edit the game, because the language will be much simpler than complex JavaScript code that is needed for something like this. And even if I would be asked to create a game like the one for Ken, it would be much easier and faster for me. This is how Gaiman programming language has started.
-
Ask HN: Single person creations that have stood the test of time
My jQuery Termial: https://terminal.jcubic.pl/ library. It started more the 10 years ago. It's written in ES5, I didn't wanted to do that, but I'm thinking about creating version 3.0 that would be a rewrite in latest JavaScript or TypeScript.
-
Ideas of defining mini parser that handle text adventure text-based input
I'm working on a language called Gaiman similar to ruby that compiles to JavaScript. The purpose of the language is to simplify creating interactive text games, first for the Web later maybe for the normal terminal. The web part is based on my jQuery Terminal library.
What are some alternatives?
jQuery - jQuery JavaScript Library
fake-terminal-website - A fully customizable terminal-like website template
Alpine.js - A rugged, minimal framework for composing JavaScript behavior in your markup.
viciious - A Commodore 64 emulator in JavaScript
zepto - Zepto.js is a minimalist JavaScript library for modern browsers, with a jQuery-compatible API
parsedmarc - A Python package and CLI for parsing aggregate and forensic DMARC reports
umbrella - :umbrella: Lightweight javascript library for DOM manipulation and events
parchment - The Interactive Fiction web app
replace-jquery - Automatically finds jQuery methods from existing projects and generates vanilla js alternatives.
watasu - customizable abstract function layer for your JavaScript application
django-webpack-loader - Transparently use webpack with django
escodegen - ECMAScript code generator