JavaScript HTML CSS Python Shell Batchfile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
closure-deps Update README.md Aug 15, 2018
closure Modify the closure module manager so that Aug 15, 2018
doc trivial typo fix Aug 6, 2018
scripts Don't attempt to compile the closure-deps/ folder. Aug 7, 2018
third_party/closure/goog Fix misleading comments on definitions of goog.async.Deferred.STRICT_… Mar 29, 2018
.gitignore Include the new google-closure-deps node module in the Closure Librar… Aug 6, 2018
.npmignore Include the new google-closure-deps node module in the Closure Librar… Aug 6, 2018
.travis.yml Do not connect to saucelabs Feb 20, 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 use syntax highlighting in README.md Jun 4, 2018
all_tests.html Remove reference to internal wiki page on external test runner. Aug 8, 2013
alltests.js Rollforward of cl/200597869 (3d5960d): Create a goog.promise.NativeRe… Jun 27, 2018
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 v20180805.0.0 Aug 10, 2018
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();