Skip to content

Commit 3eac07e

Browse files
committed
Updating for better user experience
1 parent 282c540 commit 3eac07e

File tree

4 files changed

+17
-10
lines changed

4 files changed

+17
-10
lines changed

β€ŽREADME.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,15 @@ It's a tiniest npm package πŸ“¦
77
It prints out: 🐁
88

99
## Install
10+
Install globally!
1011
```
11-
$ npm install @withoutwax/tiny
12+
$ npm install -g withoutwax-tiny
1213
```
1314

1415
## Usage
15-
```JavaScript
16-
const tiny = require("@withoutwax/tiny");
17-
18-
tiny();
19-
// => "🐁"
20-
```
21-
Then in your Terminal, type:
22-
```
23-
node index.js
16+
Just type ```tiny```!
2417
```
18+
$ tiny
19+
20+
🐁
21+
```

β€Žbin/tiny

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#! /usr/bin/env node
2+
require('../')()

β€Žpackage-lock.json

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"license": "MIT",
66
"repository": "withoutwax/tiny",
77
"main": "index.js",
8+
"bin": {
9+
"tiny": "bin/tiny"
10+
},
811
"keywords": [
912
"tiny",
1013
"npm",

0 commit comments

Comments
Β (0)