Over the years I have done quite a bit of JavaScript work, and in the process collected some nice generically usable libraries. Some of those are available for download below.
A base library for some (or, most nowadays) of my code. The goal is to have a nice solution for all common JavaScript issues (e.g. cross-browser event registration, easier AJAX handling, missing core object functions like String.strip and Array.index), but unfortunately it's far from complete at this moment.
The key feature (and the reason to not just switch to another base lib, even though there are plenty) is that it's relatively non-obtrusive: the library offers simple, light-weight functions rather than extending core objects (as e.g. Prototype does) or completely altering the language (Mochikit style).
License: BSD style
| Version | Filename | Size | Date |
|---|---|---|---|
| 0.1 | jsbase-0.1.tar.gz | 16064 | 2007-12-12 |
A full-fledged WebDAV client library for JavaScript, provides a lower- and a higher-level API, both asynchronous. The low-level API just provides a set of methods matching DAV HTTP methods (e.g. PUT() or LOCK()), the higher level one resembles feels more like a simple filesystem.
This library depends on jsbase, minisax and dommer, but they are all available in the tarball already.
License: GPL
| Version | Filename | Size | Date |
|---|---|---|---|
| 0.1 | davclient.js-0.1.tar.gz | 81749 | 2007-12-12 |
This is a package that allows you to apply localization to your JavaScript code, either by translating a special mapping on the server and making that available, or by loading a message catalog from JS and translating on the fly on the client.
It's currently not actively developed anymore, but I'm quite willing to fix bugs and accept patches.
License: BSD-style
| Version | Filename | Size | Date |
|---|---|---|---|
| 0.1 | i18n.js-0.1.tar.gz | 6587 | 2005-01-18 |
A very simple SAX (Simple API for XML) library for event-driven XML processing.
License: GPL
| Version | Filename | Size | Date |
|---|---|---|---|
| 0.2 | minisax.js-0.2.tar.gz | 13340 | 2005-03-25 |
| 0.3 | minisax.js-0.3.tar.gz | 12705 | 2007-12-12 |
This is a DOM library implemented in pure JavaScript. Originally written to provide proper namespace support on Internet Explorer, I now mostly use it to test DOM code in SpiderMonkey.
Note that DOM support is _almost_ complete, and _almost_ standards compliant (good enough to work with, but there are some caveats; read more in the docs).
License: GPL
| Version | Filename | Size | Date |
|---|---|---|---|
| 0.3 | dommer-0.3.tar.gz | 23488 | 2005-07-30 |
| 0.4 | dommer-0.4.tar.gz | 19576 | 2007-12-12 |
A library to unify custom widget handling in JavaScript/HTML forms, this defines a common API for custom widgets to implement, and builds some functionality (e.g. sticky form behaviour on page reload, graceful degration) on top of that API. The widgets are integrated into the HTML by using normal form controls with special (namespaced) XML attributes, making custom widget integration very easy and clean.
License: BSD style
| Version | Filename | Size | Date |
|---|---|---|---|
| 0.1 | widgeteer-0.1.tar.gz | 5528 | 2005-08-09 |