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 🙏

© 2026 – Pkg Stats / Ryan Hefner

react-black-shadow

v1.2.1

Published

Black shadow to protect from screenshots, keyboard blocking, devtool protection, context menu and copying your design for React

Downloads

496

Readme

react-black-shadow

Advanced React protection layer for your UI and intellectual property.

react-black-shadow helps you protect your React applications from screenshots, copying, reverse engineering, and automated scraping tools. Designed for developers who want to safeguard their design, logic, and user experience.


🚀 Features

  • 🛡️ Screenshot protection (basic deterrence)
  • ⌨️ Keyboard shortcut blocking (DevTools, screen capture keys, etc.)
  • 🧠 DevTools detection & blocking
  • 🖱️ Disable right-click / context menu
  • 📋 Prevent copying and text selection
  • 🤖 Protection against scraping tools and AI analyzers
  • 🌐 Shields your UI from platforms that analyze and replicate websites
  • ⚡ Lightweight and easy to integrate

📦 Installation

npm install react-black-shadow

or

yarn add react-black-shadow

🧩 Usage

import Shadow from 'react-black-shadow';

function App() {
  return (
    <Shadow url="yoururl.com" />
  );
}

⚙️ Props

| Prop | Type | Description | | ----- | -------- | -------------------------------------------------------------- | | url | string | Your domain or identifier used internally for protection logic |


🔗 Repository

GitHub: https://github.com/danny7777777268/react-black-shadow


🔒 What It Protects Against

  • Manual screenshots (basic blocking/detection techniques)
  • Keyboard-based screen capture attempts
  • Browser DevTools inspection
  • Copying HTML/CSS/JS
  • Right-click inspection
  • Automated scraping tools
  • AI-based code analyzers and cloning platforms

🧠 Use Cases

  • SaaS dashboards
  • Fintech platforms
  • AI products
  • Design-heavy applications
  • Proprietary UI/UX systems
  • Startup MVP protection

⚠️ Important Note

This package is designed to increase the difficulty of copying and reverse engineering, but no client-side solution can guarantee 100% protection.

For maximum security:

  • Combine with backend validation
  • Move critical logic server-side
  • Use licensing and API protection

💡 Why react-black-shadow?

In today’s world, copying products is easier than ever:

  • AI tools analyze and recreate UIs
  • Browser tools expose internal logic
  • Screenshots can be used to replicate designs

react-black-shadow adds a defensive layer to protect your work and slow down attackers.


🛠️ Roadmap

  • Advanced anti-bot detection
  • Behavioral anomaly detection
  • Dynamic obfuscation
  • Encrypted runtime execution

📄 License

MIT


✨ Author

Built for developers who want to protect what they create.

example you can see here https://stockbase.pro