Socket
Socket
Sign inDemoInstall

mg-work-timer

Package Overview
Dependencies
9
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    mg-work-timer

Timer app to register work and rest starting and finishig times


Version published
Weekly downloads
16
decreased by-88.32%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

mg-work-timer

mg-work-timer is a React-typescript package to have a simple stopwatch to register work and resting daily times for your employees or for yourself.

npm

Timer example

Installation

npm install mg-work-timer

Use

import { Timer } from 'mg-work-timer'

function App() {

  return (
    <>
        <Timer />
    <>
  )
}

export default App

To use the Login system create a project on Firebase, activate auth, enable the login with email at authentication options and change the firebaseConfig data at /src/firebaseConfig.ts to your own data

const firebaseConfig = {
  apiKey: "____________________________________",
  authDomain: "___________.firebaseapp.com",
  projectId: "___________",
  storageBucket: "___________.appspot.com",
  messagingSenderId: "000000000000",
  appId: "1:000000000000:web:__________________",
  measurementId: "G-__________",
}

Funding

If you find it useful please support my work!

Buy me a coffee

Keywords

FAQs

Last updated on 18 Apr 2024

Did you know?

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc