Added 'assign' convenience shortcut.

This shortcut can be used to cleanly assign the text content of a node to a property of an object.
Added npmignore file.