UNPKG

@minna-ui/utils

Version:

Small utility functions for use in Minna UI projects.

24 lines (13 loc) 985 B
[![NPM version](https://img.shields.io/npm/v/@minna-ui/utils.svg)](https://www.npmjs.com/package/@minna-ui/utils) [![Licence](https://img.shields.io/npm/l/@minna-ui/utils.svg)](https://github.com/WeAreGenki/minna-ui/blob/master/LICENCE) # `@minna-ui/utils` Utilities for use in [`Minna UI`](https://github.com/WeAreGenki/minna-ui) projects. _Included utilities:_ - `handleErr` — Simple error handler for node API methods with callbacks. - `gitDescribe` — Get the result from the `git decribe` command which is useful when used together with [@rollup/plugin-replace](https://github.com/rollup/plugins/tree/master/packages/replace) to programatically inject an app release/version. ## Usage TODO: Write me :) ## Licence `@minna-ui/utils` is part of [`Minna UI`](https://github.com/WeAreGenki/minna-ui), an Apache-2.0 licensed open source project. See [LICENCE](https://github.com/WeAreGenki/minna-ui/blob/master/LICENCE). --- © 2020 [We Are Genki](https://wearegenki.com)