mol_time_all
TypeScript icon, indicating that this package has built-in type declarations

1.1.1161 • Public • Published

$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

Package Sidebar

Install

npm i mol_time_all

Weekly Downloads

507

Version

1.1.1161

License

none

Unpacked Size

932 kB

Total Files

26

Last publish

Collaborators

  • jin