Skip to content
Google's common JavaScript library
Branch: master
Clone or download
concavelenz and shicks Fix enum mismatch uncovered by an experimental changes to the compile…
…r (see cl/258168708).

RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=259072981
Latest commit 4516984 Jul 20, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
closure-deps New npm release at v20190709.0.0 Jul 16, 2019
closure Fix enum mismatch uncovered by an experimental changes to the compile… Jul 23, 2019
doc Remove unneeded (and confusing) .html extension from a couple links i… Jun 22, 2019
scripts Fix release script to correctly update dependencies. Jun 4, 2019
third_party/closure/goog Roll forward CL 236017757: Replace Closure Library calls to goog.defi… Mar 5, 2019
.gitignore Fix closure-deps Oct 25, 2018
.npmignore Also ignore _perf.js files, which are tests. Apr 20, 2019
.travis.yml Use Node.js v8 for Travis CI testing Oct 25, 2018
AUTHORS Fix bug: incorrect device pixel ratio Sep 6, 2016
CONTRIBUTING Fix typo in javascript/closure/CONTRIBUTING Jul 30, 2016
LICENSE Disabling tests that are failing in new browsers. There are bugs file… Apr 12, 2011
README.md Add a link to our CONTRIBUTING doc in our readme. Apr 1, 2019
all_tests.html Remove reference to internal wiki page on external test runner. Aug 8, 2013
alltests.js Add tests with test vectors for JS HTML sanitizer. Jul 18, 2019
browser_capabilities.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
package.json New npm release at v20190709.0.0 Jul 16, 2019
protractor.conf.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
protractor_spec.js Add a bunch of missing license blocks and fix some lint warnings in v… Jul 4, 2018
sauce_browsers.json RM IE10 too Mar 24, 2017

README.md

Closure Library Build Status

Closure Library is a powerful, low-level JavaScript library designed for building complex and scalable web applications. It is used by many Google web applications, such as Google Search, Gmail, Google Docs, Google+, Google Maps, and others.

For more information, visit the Google Developers or GitHub sites.

Download the latest stable version on our releases page.

Developers, please see the Generated API Documentation.

See also the goog.ui Demos

Using with Node.js

Install the official package from npm.

npm install google-closure-library

Require the package and use goog.require normally.

require("google-closure-library");

goog.require("goog.crypt.Sha1");

var sha1 = new goog.crypt.Sha1();
sha1.update("foobar");
var hash = sha1.digest();

Contributing

Please read the CONTRIBUTING for details on how to contribute to this project.

You can’t perform that action at this time.