Skip to content

Externs For Common Libraries

Alex Eagle edited this page Jan 27, 2015 · 20 revisions

A place to record externs for common libraries

Introduction

If you know of a public externs file for a library you use not listed here, please add a comment. And it will be added.

A variety of API are supported here: https://github.com/google/closure-compiler/tree/master/contrib/externs

If you don't see the externs here, be sure to start with the FAQ: How do I write an extern file

<wiki:toc max_depth="2" />

Extern generation utilities

Browser Tech

SVG

project: https://closureidl.googlecode.com

https://closureidl.googlecode.com/files/svg.js

Libraries and Frameworks

jQuery, then alphabetical

jQuery

project: https://github.com/google/closure-compiler/tree/master/contrib/externs

https://github.com/google/closure-compiler/tree/master/contrib/externs/jquery-1.8.js

https://github.com/google/closure-compiler/tree/master/contrib/externs/jquery-1.7.js

Angular

project: https://github.com/google/closure-compiler/tree/master/contrib/externs

https://github.com/google/closure-compiler/blob/master/contrib/externs/angular-1.3.js

https://github.com/google/closure-compiler/blob/master/contrib/externs/angular-1.2.js

Backbone

project: https://github.com/lukeasrodgers/backbone-js-externs

https://raw.github.com/lukeasrodgers/backbone-js-externs/master/backbone-0.9.10-externs.js

Google Maps

project: https://github.com/google/closure-compiler/tree/master/contrib/externs/maps

https://github.com/google/closure-compiler/tree/master/contrib/externs/maps/google_maps_api_v3_11.js

Underscore

project: https://github.com/lukeasrodgers/underscore-js-externs

https://raw.github.com/lukeasrodgers/underscore-js-externs/master/underscore-1.4.4.js test

You Tube

project: https://github.com/google/closure-compiler/tree/master/contrib/externs

https://github.com/google/closure-compiler/tree/master/contrib/externs/youtubeplayer.js

node.js

project: https://github.com/dcodeIO/node.js-closure-compiler-externs

Facebook React

https://github.com/steida/react-externs/blob/master/externs.js

Clone this wiki locally