Learnlog

Learnlog

1151 bookmarks
Custom sorting
What is target in tsconfig.json for?
What is target in tsconfig.json for?
Target changes the JavaScript version you are compiling to.
Changing your target means changing the libraries with which your code compiles. If you want to keep the target a low version while supporting libraries referenced by higher versions, you may add the required library to the "lib" in tsconfig.json.
target signifies which target of JavaScript should be emitted from the given TypeScript.
·stackoverflow.com·
What is target in tsconfig.json for?
How to get favicon's URL from a generic webpage in Javascript?
How to get favicon's URL from a generic webpage in Javascript?
Google has a service for that... Dope!
Another solution is provided by Google. To get the favicon for a domain, use: https://s2.googleusercontent.com/s2/favicons?domain=www.stackoverflow.com
·stackoverflow.com·
How to get favicon's URL from a generic webpage in Javascript?