Description
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.
Garlic.js alternatives and similar libraries
Based on the "Other" category.
Alternatively, view Garlic.js alternatives based on common mentions on social networks and blogs.
-
Joplin
Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS. -
analytics
Lightweight analytics abstraction layer for tracking page views, custom events, & identifying visitors
CodeRabbit: AI Code Reviews for Developers
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Garlic.js or a related project?
README
Garlic.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