New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

youtube-duration-format

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-duration-format

Format the duration returned by google youtube data api as human understandable

0.1.0
npm
Version published
Weekly downloads
427
72.18%
Maintainers
1
Weekly downloads
 
Created
Source

youtube-duration-format Build Status

Format the duration returned by google youtube data api as human understandable

Install

$ npm install --save youtube-duration-format

Usage

var ytDurationFormat = require('youtube-duration-format');


var youtubeTime = "PT15M31S";
var duration = ytDurationFormat(youtubeTime);
console.log(duration);
// => 15:31

Keywords

youtube

FAQs

Package last updated on 30 May 2016

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