From 7d19a1107ba15b9b1e130e8eb85a358d446efb76 Mon Sep 17 00:00:00 2001 From: Vivek Nayyar Date: Fri, 1 Feb 2019 00:28:32 +0530 Subject: [PATCH] :sparkle: updated README --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ccecb25..ce5f7a8 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -## async-await-codemod [![Build Status](https://travis-ci.org/vivek12345/async-await-codemod.svg)](https://travis-ci.org/vivek12345/async-await-codemod) +## ✨ async-await-codemod [![Build Status](https://travis-ci.org/vivek12345/async-await-codemod.svg)](https://travis-ci.org/vivek12345/async-await-codemod) This repository contains a codemod script for use with [JSCodeshift](https://github.com/facebook/jscodeshift) that help add try catch statements to asyc await calls. -### Setup & Run +### 🚚 Setup & Run 1. `yarn global add jscodeshift` 1. `git clone https://github.com/vivek12345/async-await-codemod.git` @@ -15,7 +15,7 @@ This repository contains a codemod script for use with * use the `--extensions` option if your files have different extensions than `.js` (for example, `--extensions js,jsx`); * see all available [jscodeshift options](https://github.com/facebook/jscodeshift#usage-cli). -### Included Script +### 📒 Included Script #### `async-await-with-try-catch` @@ -61,6 +61,7 @@ async function completeApplicationFlow() { ``` +## ⭐ Usage ```sh jscodeshift -t transforms/async-await-with-try-catch.js