Socket
Book a DemoInstallSign in
Socket

dark-light-element

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dark-light-element

https://unpkg.com/dark-light-element@latest/demo.html

latest
Source
npmnpm
Version
0.0.4
Version published
Maintainers
1
Created
Source

Live demo

https://unpkg.com/dark-light-element@latest/demo.html

Installation

Use npm:

npm install --save dark-light-element

Use CDN:

<script type="module" src="https://unpkg.com/dark-light-element"></script>

Usage

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>🌒 toggles dark mode</title>
    <meta charset="utf-8" />
    <script type="module" src="https://unpkg.com/dark-light-element"></script>
  </head>
  <body>
    <dark-light-element></dark-light-element>
  </body>
</html>

Keywords

frontend

FAQs

Package last updated on 06 Jun 2023

Did you know?

Socket

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.

Install

Related posts