Skip to content

hahouari/closure-library

 
 

Repository files navigation

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

Note: this is a fork of the original closure-library, it is not intended to be installed using npm, instead, it is intended to be pulled as a git submodule for @dnory0/node-blockly project to include the version that is compatible with the blockly project (which is itself a submodule too), consider developing on @dnory0/node-blockly project.

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.

Packages

No packages published

Languages

  • JavaScript 95.9%
  • HTML 3.3%
  • CSS 0.4%
  • Python 0.3%
  • Shell 0.1%
  • Batchfile 0.0%