CoreAPI (simple multi-purpose JavaScript library)
Over the weekend I started thinking more seriously about where the AttackAPI is going. I’ve come up to the conclusion that there is a lot of work ahead of us and we need to start thinking a lot more about the design before doing anything drastic. It quickly came to my mind that some of you may like to use the stable parts of the attack library for whatever reasons. For example, I quite often make use of the core utilities for all kinds of command line tools. Therefore, I’ve decided to provide these parts as a separate library so you can make use of them in your projects as well.

The library is quite stable although there are several places which can be improved. I believe that this will come with the time. There is also a documentation which is not in its best shape at the moment but it is there fore you. The library comes as two standalone modules, but you can use almost all parts independently. The main core module is where most of the functionalities reside, while the prototype module is for people who like the prototype approach (it is designed for your convenience really).
Soon, there will be an API extraction functionality built in as well, so you will be able to port only the most important bits and peaces from the library in a few simple steps. Give it a try and let me know how it feels!


comments
Seeing the Standalone Prototype really horrified me; Object.prototype is verboten, since the for…in loop includes prototyped objects as well.
i know what u mean. The prototype is not even there yet. It came as a hack after ripping off the core out of attackapi. In fact it doesn’t even work at the moment. Still, it is good to show where it is going to. If u want u can help.
Great stuff! I’m gonna look over the code and help improve it :)
Gareth, this will be really cool, with the mount of things we are releasing we need to get more bright minds like you on board. :)