You can run through the examples and also check out the unit tests for more code examples.

For those who don't know: Bitcore is a JS implementation of Bitcoin functionality. This module, bitcore-namecoin, extends much of Bitcore's functionality by patching a couple functions that otherwise hardcode Bitcoin P2SH/P2PKH style transactions. I am working with the developers to eliminate those limitations. With this, you can create name_new, name_firstupdate, and name_update transactions, offline, in node.js or the browser.

cassini wrote:Great work, and thanks for sharing! My JavaScript knowledge is rather limited, so I can't do any serious testing. I only noticed that your list of dns seeds is out-of-date, see our latest pr:https://github.com/namecoin/namecore/pull/13/files