-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Externs For Common Libraries
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" />
- To generate externs from a IDL file see this project: https://code.google.com/archive/p/closureidl
- To auto-generate externs from a library try: http://blog.dotnetwise.com/2009/11/closure-compiler-externs-extractor.html
- To auto-generate externs for Polymer elements try: https://github.com/PolymerLabs/extern-generator
NOTE THAT MILEAGE MAY VARY WITH THESE TOOLS AND AUTOMATICALLY GENERATED EXTERNS MAY NOT BE A FUNCTIONAL SUBSTITUTE FOR CORRECT HAND WRITTEN ONES
project: https://code.google.com/archive/p/closureidl
https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/closureidl/svg.js
jQuery, then alphabetical.
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
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
project: https://github.com/lukeasrodgers/backbone-js-externs
https://raw.github.com/lukeasrodgers/backbone-js-externs/master/backbone-0.9.10-externs.js
project: https://codemirror.net/
https://gist.github.com/PeterTillema/8e037add8416c891f72560b8ba153fb3
project: https://github.com/isabo/firebase-externs
https://github.com/isabo/firebase-externs/blob/master/firebase-externs.js
project: https://github.com/google/closure-compiler/tree/master/contrib/externs/maps
project: https://github.com/IvanRF/hls.js-externs
https://github.com/IvanRF/hls.js-externs/blob/master/hls.js
project: https://gist.github.com/PeterTillema/74117f5c7a2f2ff603b5ec5c95f83230
project: https://github.com/dcodeIO/node.js-closure-compiler-externs
project: https://www.polymer-project.org/
https://github.com/google/closure-compiler/blob/master/contrib/externs/polymer-1.0.js
project: https://github.com/lukeasrodgers/underscore-js-externs
https://raw.github.com/lukeasrodgers/underscore-js-externs/master/underscore-1.4.4.js test
project: https://github.com/google/closure-compiler/tree/master/contrib/externs
cljsjs packages: https://github.com/cljsjs/packages