Google's common JavaScript library
jplaisted Don't attempt to generate docs for goog.js for now. Dossier throws an…
… error on it. But since dossier is a year old, it probably just needs updating.

RELNOTES: n/a

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=216744101
Latest commit 7b0114b Oct 11, 2018
Permalink
Failed to load latest commit information.
closure-deps RELNOTES: Fix a loss-of-precision issue in `NumberFormat` that caused… Oct 8, 2018
closure Do not seal the subset of goog.module that is exported. Object.freeze… Oct 11, 2018
doc trivial typo fix Aug 6, 2018
scripts Don't attempt to generate docs for goog.js for now. Dossier throws an… Oct 11, 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 Add @define goog.ASSUME_PROMISE to allow goog.async.run to use global… Sep 26, 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 v20180910.0.0 Sep 19, 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();