Socket
Socket
Sign inDemoInstall

darkmode-js

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

darkmode-js - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

package.json
{
"name": "darkmode-js",
"version": "1.3.0",
"version": "1.3.1",
"description": "🌓 Add darkmode / nightmode to your website in a few seconds",

@@ -5,0 +5,0 @@ "main": "lib/darkmode-js.js",

@@ -14,5 +14,8 @@ # Darkmode.js ![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)

- https://darkmodejs.learn.uno
- https://www.sandoche.com
- https://tradivegan.com (with custom label)
- https://what.toeat.in (with custom label)
- https://www.kanbanote.com (without the widget, once logged in)
- https://www.sandoche.com (with custom label)
## How to use
## 📖 How to use
Darkmode.js is very easy to use, just copy paste the following code or use the npm package.

@@ -41,3 +44,3 @@

## Options
## ⚙️ Options
Here are the option availables:

@@ -61,3 +64,3 @@ ```javascript

## Methods
## ▶️ Methods
If you don't want to show the widget and enable/disable Darkmode programatically you can use the method `toggle()`. You can also check if the darkmode is activated with the method `isActivated()`. See them in action in the following action.

@@ -109,3 +112,3 @@ ```javascript

## Show your support
## ⭐️ Show your support
Please ⭐️ this repository if this project helped you!

@@ -112,0 +115,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc