JavaScript helper libraries? No DOM or AJAX stuff
Posted
by Melmacian
on Stack Overflow
See other posts from Stack Overflow
or by Melmacian
Published on 2010-06-08T17:15:01Z
Indexed on
2010/06/08
17:42 UTC
Read the original article
Hit count: 240
JavaScript
|library
As I'm writing JavaScript I'm always missing some fairly basic language features that JavaScript just don't have. So is there any library that would bring such features as trim, sprintf, str.endwith and etc. functions to JavaScript ?
I just have written those functions too many times and I'm also tired of copy/pasting them from my old code. It would be nice to have some library which has those implemented and tested in one place.
Note that I'm not talking about Ajax/DOM-libraries like jQuery or Dojo and such. I know that those libraries bring some of the features that I'm talking here, but not all. And I would like to have also an environment independent library so that same library could be used with server side JavaScript .
Best library so far that I've found is php.js, but I don't like how it is polluting the global namespace. I'm also not too fond of how PHP-functions are named.
© Stack Overflow or respective owner