# mtm-utilities

Latest version **0.0.64** (published 2024-02-14) · LGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install mtm-utilities
pnpm add mtm-utilities
yarn add mtm-utilities
bun add mtm-utilities
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.64 |
| Published | 2024-02-14 |
| First published | 2019-08-20 |
| Weekly downloads | 0 |
| License | LGPL-3.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 488.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Martin Peter Madsen |
| Maintainers | merlinthemagic |

## Links

- npm: https://www.npmjs.com/package/mtm-utilities
- npm.io page: https://npm.io/package/mtm-utilities

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.3.0

## Recent versions

- 0.0.64 (latest) — 2024-02-14
- 0.0.63 — 2024-02-12
- 0.0.62 — 2024-02-12
- 0.0.61 — 2024-01-26
- 0.0.60 — 2024-01-26
- 0.0.58 — 2022-09-05
- 0.0.57 — 2022-09-05
- 0.0.56 — 2022-01-09
- 0.0.55 — 2021-06-23
- 0.0.54 — 2021-06-17
- 0.0.53 — 2021-06-02
- 0.0.52 — 2021-02-17
- 0.0.51 — 2021-02-10
- 0.0.50 — 2021-01-15
- 0.0.48 — 2020-12-21
- … 47 more at https://npm.io/package/mtm-utilities/versions

## README

# MtmUtilities


MtmUtilities is a collection of often used functions.

For node.js, you can use this command to install:

```
npm install mtm-utilities
```

Include lib assets in your project add to angular.json:


```
"assets": [					
	{
      "glob": "**/*",
      "input": "node_modules/mtm-utilities/assets",
      "output": "./assets"
    }
]
```


import the service:

```
import { MtmUtilitiesService } from "mtm-utilities";
```

USE assuming you have injected the service using the _mtmUtils variable name:

```

	var guid = this._mtmUtils.getGuids().getV4().get(false);
	console.log(guid);
	
	var epoch = this._mtmUtils.getTime().getCurrent().getMicroEpoch(true);
	console.log(epoch);
	
	
```

---
_Source: https://npm.io/package/mtm-utilities · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
