npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@openzeppelin/uniswap-hooks

v1.1.1

Published

Solidity library for secure and modular Uniswap hooks.

Readme

Coverage Status CI

Solidity library for secure and modular Uniswap hooks.

[!WARNING] This is experimental software and is provided on an "as is" and "as available" basis. We do not give any warranties and will not be liable for any losses incurred through any use of this code base. Read the disclaimer for more information.

Overview

Installation

Foundry

[!WARNING] Foundry installs the latest version initially, but subsequent forge update commands will use the master branch.

$ forge install OpenZeppelin/uniswap-hooks

Add @openzeppelin/uniswap-hooks/=lib/uniswap-hooks/src/ in remappings.txt.

Hardhat

Not currently supported given that Uniswap v4 core and periphery contracts are not yet npm packages.

Contribute

There are many ways you can participate and help build high quality software. Check out the contribution guide!

License

OpenZeppelin Uniswap Hooks is released under the MIT License.

Legal

Your use of this Project is governed by the terms found at www.openzeppelin.com/tos (the "Terms").

Disclaimer

The hook code provided herein is offered on an “as-is” basis and has not been audited for security, reliability, or compliance with any specific standards or regulations. It may contain bugs, errors, or vulnerabilities that could lead to unintended consequences. By utilizing these hooks, you acknowledge and agree that:

  • Assumption of Risk: You assume all responsibility and risks associated with its use.
  • No Warranty: The authors and distributors of this code disclaim all warranties, express or implied, including but not limited to warranties of merchantability, fitness for a particular purpose, and non-infringement.
  • Limitation of Liability: In no event shall the authors or distributors be held liable for any damages or losses, including but not limited to direct, indirect, incidental, or consequential damages arising out of or in connection with the use or inability to use the code.

Recommendation: Users are strongly encouraged to review, test, and, if necessary, audit the hooks independently before deploying in any environment.

By proceeding to utilize these hooks, you indicate your understanding and acceptance of this disclaimer.