From 75e83d3f9e35fbf986e2da52aef65a83ab10d8f4 Mon Sep 17 00:00:00 2001 From: Jason Lloyd Date: Thu, 16 Jan 2020 18:20:35 +0000 Subject: [PATCH] Update readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9d6f1e..437fdf1 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,11 @@ You'll need: - [Node.js](https://nodejs.org/) v10.12 or later - Your [WordPress export file](https://codex.wordpress.org/Tools_Export_Screen) -Open your terminal to this package's directory. Run `npm install` and then `node index.js`. +There are a few ways you can run the package: + +1. use npx example: `npx w2m --input=wordpress_export_file.xml` +2. install it via npm: `npm i wordpress-export-to-markdown` then run `w2m --input=wordpress_export_file.xml` +3. Clone this repository, open your terminal then run `npm install` and then `node index.js`. This will create an `/output` folder filled with your posts and images.