Skip to content

Commit

Permalink
add deno-types
Browse files Browse the repository at this point in the history
  • Loading branch information
trilom committed Mar 23, 2021
1 parent e4b8378 commit 46719d1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# utilities

Repository of common utilities in TS.
Repository of utilities for deno written in typescript for trailmix🌤🦕🍣😼
[![art djkittyplayz][art]](http://djkittyplayz.art/)
[![codecov][codecov]](https://app.codecov.io/gh/trailmix/utilities)
![downloads][downloads]
[![goofus_colors goofus colors trailmix deno typescript](https://trailmix-images.s3.amazonaws.com/gooface/gooface_colorsB.jpg)](http://djkittyplayz.art/)
[![downloads][downloads]](https://deno.land/x/trailmix)
[![goofus_colors goofus colors trailmix deno typescript][goofus]](https://deno.land/x/trailmix)

[![svg][svg]](https://app.codecov.io/gh/trailmix/utilities)

## Usage

Expand All @@ -22,7 +24,7 @@ import {
randomStyleString,
random,
styles as s,
} from 'https://deno.land/x/trailmix@1.0.2/mod.ts';
} from 'https://deno.land/x/trailmix@1.0.3/mod.ts';

// random StyleFn Message Functions
console.log(messageByFn('hello', [s.cyan, s.bgRed])); // cyan text, red BG
Expand Down Expand Up @@ -88,6 +90,8 @@ console.log(C.random('test some string', rConf)); // random function

## [CONTRIBUTE](CONTRIBUTE.md)

[goofus]: https://trailmix-images.s3.amazonaws.com/gooface/gooface-color.png
[art]: https://img.shields.io/badge/art-djkittyplayz-yellow
[codecov]: https://img.shields.io/codecov/c/github/trailmix/utilities
[codecov]: https://codecov.io/gh/trailmix/utilities/branch/master/graph/badge.svg?token=96CJ5IPAAN
[downloads]: https://img.shields.io/github/downloads/trailmix/utilities/total
[svg]: https://codecov.io/gh/trailmix/utilities/branch/master/graphs/tree.svg
1 change: 1 addition & 0 deletions color/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export {
stylesMap,
} from 'trailmix/color/Color.ts';
export { styleEnum, EnumColor, EnumBgColor, EnumEmphasis, EnumSuffix } from 'trailmix/color/enum.ts';
// @deno-types="./Color.d.ts"
export type {
StyleTypes,
Styles,
Expand Down

0 comments on commit 46719d1

Please sign in to comment.