Skip to content

Commit

Permalink
added demo
Browse files Browse the repository at this point in the history
added demo

version update

made some interaction

made some interaction

Revert "made some interaction"

This reverts commit aa687e2.

version @ 1.3.1
  • Loading branch information
Rupeshiya committed Jul 21, 2018
1 parent 160f1e2 commit 78f5e3c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 16 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
```
npm install fun_packet -g
```
```

### If you stuck in using simply type

```
Expand All @@ -40,8 +40,9 @@
fun check --text="hello world"
or,
fun check --t="hello world"
```
### Made with :heart:by rupeshiya
```
### Demo, After installation:-
![select node js command prompt 7_6_2018 12_15_04 am](https://user-images.githubusercontent.com/31209617/42374187-38344a4e-80cc-11e8-85e7-d7691b545e25.gif)

### Made with :heart: by rupeshiya
5 changes: 3 additions & 2 deletions bin/fun.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

var request = require('request');
var colors = require('colors');
var os = require('os');

var yargs = require('yargs');

Expand Down Expand Up @@ -73,7 +74,7 @@ var command = argv._[0];
//commands
if(command === 'start')
{
CFonts.say('Hello|world!', {
CFonts.say(`Hello|${os.userInfo().username}`, {
font: 'block', // define the font face
align: 'center', // define text alignment
colors: ['red'], // define all colors
Expand All @@ -84,7 +85,7 @@ if(command === 'start')
maxLength: '13', // define how many character can be on one line
});

console.log( '\x1b[31m\x1b[1mWarning:\x1b[22m \x1b[93mJokes may makes \x1b[4m you\x1b[24m laugh.\x1b[0m' );
console.log( '\x1b[31m\x1b[1mWarning:\x1b[22m \x1b[93mJokes may makes \x1b[4m you\x1b[24m laugh.\x1b[0m' );
console.log('Jokes started..');
jokes();
}
Expand Down
19 changes: 12 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fun_packet",
"version": "1.0.3",
"version": "1.3.1",
"description": "This will give you lots of fun like jokes and sentence analysis.",
"main": "./bin/fun.js",
"bin": {
Expand All @@ -9,7 +9,6 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},

"repository": {
"type": "git",
"url": "git+https://github.com/Rupeshiya/FunPacketCli.git"
Expand All @@ -23,7 +22,9 @@
"cfonts": "^2.1.3",
"colors": "^1.3.0",
"express": "^4.16.3",
"os": "^0.1.1",
"paralleldots": "^3.1.1",
"request": "^2.87.0",
"yargs": "^11.0.0"
},
"bugs": {
Expand Down

0 comments on commit 78f5e3c

Please sign in to comment.