I found these projects:
- https://github.com/iandanforth/nupic-js by former Numenta employee Ian Danforth (as seen here)
- https://github.com/htm-community/htm.JavaScript (looks like it has a complete spatial pooler)
Just so I don’t miss any others, please post your code if you have written the spatial pooling algorithm in JavaScript. Thanks!