Namecoin support for Bitpay's "Bitcore" Bitcoin JavaScript library[1].
https://github.com/brandonrobertz/bitcore-namecoinThe goals are, aside from 100% namecoin/namecoin core compatibility, high test coverage (currently at 95%) and ease-of-use (you can create a name_new transaction in a few lines of code). The code is MIT licensed.
For those who don't know: Bitcore is a JS implementation of Bitcoin functionality. You can create addresses, create and sign transactions, import raw transactions, import/export WIFs (from vanitygen for example) all in native JavaScript. bitcore-namecoin extends much of Bitcore's functionality by patching a couple functions that otherwise hardcode Bitcoin P2SH/P2PKH style transactions. I am also working with the Bitpay developers to improve Bitcore's altcoin compatibility in general.
With bitcore-namecoin, you can create name_new, name_firstupdate, and name_update transactions, offline, in Node.js or the browser. You can run through the examples on the github README, and also check out the unit tests for more code examples.
1.
https://github.com/bitpay/bitcore