Code Monkey home page Code Monkey logo

notification-cli's People

Contributors

nick-w-nick avatar yuis-ice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

notification-cli's Issues

desktop notification not working in WSL bash

Problem: desktop notification not working in WSL bash

Workaround: Install the npm package on Windows, from powershell or cmd, then add path (if not yet pathed), and will be able to run it from WSL bash

Replace moment.js lib

Hi!

What do you think about replacing moment? It is a legacy project now :/

You can choose any other of these three alternatives here: https://moiva.io/?npm=date-fns+dayjs+luxon+moment


occurrences

const moment = require('moment');

moment(program.date, program.format).toDate(),

console.log(moment().format(), program.log);

notification-cli/noc.js

Lines 49 to 50 in f8e86e5

if (! program.hideLog) console.log(moment().format(), "Jobs started...");
if (! program.hideLog) console.log(moment().format(), "You will be notified at:", moment(program.date, program.format).format());

If you choose dayjs this project total size will go from 473.8 kB to 191.7 kB ๐Ÿ˜„

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.