guillaumepotier/Garlic.js
guillaumepotier/Garlic.js has 2,333 GitHub stars and 174 forks. GitHot measured 0 stars in 24 hours and 0 in 7 days. Last checked 2026-11-11 10:39 UTC. Last push 2021-11-03.
Automatically persist your forms' text and select field values locally, until the form is submitted.
Measured star growth
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalGarlic.js
Garlic.js allows you to automatically persist your forms' text and select field values locally, until the form is submitted. This way, your users don't lose any precious data if they accidentally close their tab or browser.
Demonstration / Documentation
Version
1.4.2
See CHANGELOG for more info.
TODO
- Improve doc and api;
- Refactorize some code;
- Work on inputs radio and textarea where there are conflicts;
- And much more, for fun!
Run tests
- In your browser: go to
tests/index.html - Headless tests:
npm install && npm test
Make production minified versions
You'll need ruby, and Google Closure compiler: gem install closure-compiler. Then, just call:
./bin/build.sh version where version is the build release. eg: ./bin/build.sh 1.1.2
They'll be created and dumped in the dist/ directory
Contributors
- @cdmoyer
- @johnrees
- @Marfa
- @leondewey
- @willdurand
- @nashby
Used / Inspiration
- localStorageshim for IE browsers: https://github.com/mattpowell/localstorageshim by @mattpowell
- minify ruby script https://gist.github.com/765432 by @benpickles
Licence
MIT - See LICENCE.md
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
561,771 starspublic-apis/public-apis
A collective list of free APIs
498,120 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
451,917 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,339 stars