Skip to content

Commit

Permalink
'-' -> '_'
Browse files Browse the repository at this point in the history
  • Loading branch information
Im-Beast committed May 8, 2021
1 parent 9fc96ac commit 56e94d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deno_lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interface CrayonColorSupport {

## Usage
```ts
import { getColorSupport, supportedColors, getWindowsVersion } from 'https://deno.land/x/crayon-color-support/mod.ts';
import { getColorSupport, supportedColors, getWindowsVersion } from 'https://deno.land/x/crayon_color_support/mod.ts';

const support = getColorSupport(); // detect terminal color support
const cached = supportedColors(); // cached getColorSupport (it just returns cached object)
Expand All @@ -26,7 +26,7 @@ const windowsVersion = getWindowsVersion(); // Reusable function [version (7/8/1
## Usage with crayon.js
```ts
import crayon from 'https://deno.land/x/crayon/mod.ts'; // it'll still work with modules that extend crayon instance as its config is global
import { getColorSupport } from 'https://deno.land/x/crayon-color-support/mod.ts';
import { getColorSupport } from 'https://deno.land/x/crayon_color_support/mod.ts';

crayon.config.colorSupport = getColorSupport();
```
Expand Down

0 comments on commit 56e94d0

Please sign in to comment.