root 731fd79768 update 4 年之前
..
closure 731fd79768 update 4 年之前
doc 731fd79768 update 4 年之前
scripts 731fd79768 update 4 年之前
third_party 731fd79768 update 4 年之前
.DS_Store 731fd79768 update 4 年之前
.gitignore 731fd79768 update 4 年之前
.travis.yml 731fd79768 update 4 年之前
AUTHORS 731fd79768 update 4 年之前
CONTRIBUTING 731fd79768 update 4 年之前
LICENSE 731fd79768 update 4 年之前
README.md 731fd79768 update 4 年之前
all_tests.html 731fd79768 update 4 年之前
alltests.js 731fd79768 update 4 年之前
browser_capabilities.js 731fd79768 update 4 年之前
package.json 731fd79768 update 4 年之前
protractor.conf.js 731fd79768 update 4 年之前
protractor_spec.js 731fd79768 update 4 年之前
sauce_browsers.json 731fd79768 update 4 年之前

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