Skip to content

Commit

Permalink
docs: add playground link to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Thanga-Ganapathy committed Apr 22, 2023
1 parent 06d5662 commit 5076976
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-beers-behave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@opentf/utils": patch
---

Added playground link to readme
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

> A Collection of JavaScript Utility Functions.
## [Playground](https://js-utils.pages.dev/playground)

## Installation

Using npm
Expand Down Expand Up @@ -37,7 +39,7 @@ import { range, camelCase, sleep } from "@opentf/utils";

range(1, 5); //=> [1, 2, 3, 4, 5]

camelCase('i phone') //=> 'iPhone'
camelCase("i phone"); //=> 'iPhone'

await sleep(1000); // It suspends the exection for 1 second.
```
Expand Down
6 changes: 4 additions & 2 deletions packages/utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

> A Collection of JavaScript Utility Functions.
## [Playground](https://js-utils.pages.dev/playground)

## Installation

Using npm
Expand All @@ -33,11 +35,11 @@ pnpm add @opentf/utils
## Usage

```ts
import { range, camelCase, sleep } from "@opentf/utils";
import { range, camelCase, sleep } from '@opentf/utils';

range(1, 5); //=> [1, 2, 3, 4, 5]

camelCase('i phone') //=> 'iPhone'
camelCase('i phone'); //=> 'iPhone'

await sleep(1000); // It suspends the exection for 1 second.
```
Expand Down

0 comments on commit 5076976

Please sign in to comment.