
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
google-closure-library
Advanced tools
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
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();
Please read the CONTRIBUTING for details on how to contribute to this project.
FAQs
Google's common JavaScript library
The npm package google-closure-library receives a total of 28,980 weekly downloads. As such, google-closure-library popularity was classified as popular.
We found that google-closure-library demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.