This is a tool to help create nametables and collision maps for NES games from tilemaps produced with the Tiled Map Editor.
The nametables and collision maps that this tool produces can be included as header files in a c program. This also means that to use this, it is assumed you program the NES with C.
There's an example tile map over here.
Install the package:
npm install nes-tmx
And use it in your project like so:
var nt = require('nes-tmx')
nt('yourtilemap.tmx', 'nametableoutput.h')
An example of how to use it can be found in fritzvd/emesh
This is based on Shiru's RLE and UNRLE function to create small nametables to program the NES in C.