🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

hashtag-time

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

hashtag-time

Parse a hashtag into number of seconds: e.g. #4hrs30mins = 16200

latest
Source
npmnpm
Version
0.0.3
Version published
Maintainers
1
Created
Source

build status

hashtag-time

Parse a time-hashtag into number of seconds: e.g. #4hrs30mins = 16200

To see more examples check the tests

usage

var hashtagTime = require('hashtag-time')
var time = hashtagTime('#4hrs30mins')

console.log(time)
// {
//   hours: 4,
//   minutes: 30,
//   duration: 16200
// }

install

npm install hashtag-time

FAQs

Package last updated on 16 Jun 2013

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