Skip to content

Externs For Common Libraries

Hana Joo edited this page Feb 6, 2023 · 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 go ahead and add it.

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

NOTE THAT MILEAGE MAY VARY WITH THESE TOOLS AND AUTOMATICALLY GENERATED EXTERNS MAY NOT BE A FUNCTIONAL SUBSTITUTE FOR CORRECT HAND WRITTEN ONES

Browser Tech

SVG

project: https://code.google.com/archive/p/closureidl

https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/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.9.js

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

CodeMirror

project: https://codemirror.net/

https://gist.github.com/PeterTillema/8e037add8416c891f72560b8ba153fb3

Firebase

project: https://github.com/isabo/firebase-externs

https://github.com/isabo/firebase-externs/blob/master/firebase-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

hls.js

project: https://github.com/IvanRF/hls.js-externs

https://github.com/IvanRF/hls.js-externs/blob/master/hls.js

Leaflet

project: https://gist.github.com/PeterTillema/74117f5c7a2f2ff603b5ec5c95f83230

https://gist.githubusercontent.com/PeterTillema/74117f5c7a2f2ff603b5ec5c95f83230/raw/7eec2e0521781c187e7f3868add7ec6ad9830edf/leaflet-extern.js

node.js

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

Polymer

project: https://www.polymer-project.org/

https://github.com/google/closure-compiler/blob/master/contrib/externs/polymer-1.0.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

YouTube

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

Collections

cljsjs packages: https://github.com/cljsjs/packages

Clone this wiki locally