Skip to content

Latest commit

 

History

History

time

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

$mol_time

Small, simple, powerful, and fast TypeScript/JavaScript library for proper date/time/duration/interval arithmetic.

Installation

Direct

<script src="https://unpkg.com/mol_time_all/web.js"></script>
<script>
	alert( new $mol_time_moment() ) // alerts current time
</script>

NPM

npm install mol_time_all

JavaScript

const Moment = require( 'mol_time_all' ).$mol_time_moment
console.log( new Moment().toString() ) // logs current time

TypeScript

import { $mol_time_moment as Moment } from 'mol_time_all'
console.log( new Moment().toString() ) // logs current time

API

Articles