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

    0.0.56 • Public • Published

    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);
    	
    	
    

    Keywords

    none

    Install

    npm i mtm-utilities

    DownloadsWeekly Downloads

    66

    Version

    0.0.56

    License

    LGPL-3.0

    Unpacked Size

    837 kB

    Total Files

    116

    Last publish

    Collaborators

    • merlinthemagic