You won't want to miss out on the world-class speakers at TNW Conference this year 🎟 Book your 2 for 1 tickets now! This offer ends on April 22 →

This article was published on August 10, 2015

Use this handy command line tool to check if your code works across browsers


Use this handy command line tool to check if your code works across browsers

Browser compatibility is something all Web developers spend a lot of time working on. A handy Node package makes it easy to see if the shiny new feature you’re trying out is compatible with enough browsers to implement it.

Can I use’s NPM package is an extension of its useful website that makes it easy to query how well a standard is adopted across browsers and various devices.

macterm

When you’re curious if you can use something like Web sockets, it’s as simple as typing ‘caniuse websockets’ at the terminal and you’ll get an instant answer about how well it’ll work across browsers.

You’ll need Node and NPM first, then you can type ‘npm install -g caniuse-cmd’ into your terminal to get it installed and ready for use.

The <3 of EU tech

The latest rumblings from the EU tech scene, a story from our wise ol' founder Boris, and some questionable AI art. It's free, every week, in your inbox. Sign up now!

It’s a nice little tool that’ll make your development workflow even better — no more jumping outside of your coding environment to the Web browser to check compatibility.

Read Next: Watching people code could be the next big thing in live streaming video

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with