chao faf16d266e update 2 月之前
..
closure faf16d266e update 2 月之前
doc faf16d266e update 2 月之前
scripts faf16d266e update 2 月之前
third_party faf16d266e update 2 月之前
.DS_Store faf16d266e update 2 月之前
.gitignore faf16d266e update 2 月之前
.travis.yml faf16d266e update 2 月之前
AUTHORS faf16d266e update 2 月之前
CONTRIBUTING faf16d266e update 2 月之前
LICENSE faf16d266e update 2 月之前
README.md faf16d266e update 2 月之前
all_tests.html faf16d266e update 2 月之前
alltests.js faf16d266e update 2 月之前
browser_capabilities.js faf16d266e update 2 月之前
package.json faf16d266e update 2 月之前
protractor.conf.js faf16d266e update 2 月之前
protractor_spec.js faf16d266e update 2 月之前
sauce_browsers.json faf16d266e update 2 月之前

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();