I live and work in NYC as a JS developer, and I feel like it's a great place to be. The community is strong here and there's a lot of diversity in what people do, technical or not, within the tech community. The amenities are good and I walk to work and honestly the rents are not that bad. Manhattan is the most expensive, but if you want to save money Brooklyn, Queens, NJ, etc. are cheaper and all linked by (mostly working) public transit. One of the biggest factors keeping me here is the public transit and the fact that I don't need to drive and sit in traffic.