Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-timer-and-stopwatch

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-timer-and-stopwatch - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

2

package.json
{
"name": "react-timer-and-stopwatch",
"version": "0.6.3",
"version": "0.6.4",
"description": "A countdown timer and stopwatch hook for React",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -33,2 +33,3 @@ # React Timer and Stopwatch hook

```jsx
import { useTimer } from "react-timer-and-stopwatch";
const SomeReactComponent = () => {

@@ -64,2 +65,3 @@ const timer = useTimer({

```jsx
import { useTimer } from "react-timer-and-stopwatch";
const SomeReactComponent = () => {

@@ -91,2 +93,3 @@ const unixTimestamp = Date.now() + 10000; // 10 seconds in the future

```jsx
import { useTimer } from "react-timer-and-stopwatch";
import moment from 'moment';

@@ -114,2 +117,3 @@ const SomeReactComponent = () => {

```jsx
import { useTimer } from "react-timer-and-stopwatch";
const SomeReactComponent = () => {

@@ -116,0 +120,0 @@ const timer = useTimer({

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