News for hackers. Stuff that matters.
Re:JavaScript libraries should be written in TypeScript by talmand on Wednesday March 16, 2016 @10:11AM (#11297411)
Wait, you mean I can start up a brand new Windows machine and type "npm install tsc -g" and stuff magically happens?
Re:JavaScript libraries should be written in TypeScript by Avenger42 on Wednesday March 16, 2016 @10:35AM (#11297626)
Visual Studio 2015 and Visual Studio Code both support npm. I don't even think you have to type "install", I think it's just a matter of listing "tsc" in your package.json file.

(I haven't tried it myself yet, but I just got back from VS Live in Vegas where the ease of package management in VS 2015 was brought up in several sessions.)

Check it out here: http://webtooling.visualstudio.com/package-managers/npm/

Re:JavaScript libraries should be written in TypeScript by lloyd-christmas on Wednesday March 16, 2016 @10:23AM (#11297512)
"On top of vanilla js" meaning node.

I understand what you're saying, but it's completely contextual. The title of this article is "All javascript libraries...". Maybe it's just that I'm not a front-end-only developer. I have no clue about the development process for exclusively front end libraries, but I don't see many people develop them without node/npm. Hell, JQuery has a package.json, and:

"In order to build jQuery, you need to have the latest Node.js/npm and git 1.7 or later"

https://github.com/jquery/jquery