0.0.7 ā¢ Published 2 years ago
@muzalab/easyspot v0.0.7
introduction
This package is demo how to use npm to create a cli and lib package. And how to install and run it on your machine or in your code.
run in a local node
$ node
Welcome to Node.js v16.16.0.
Type ".help" for more information.
> require('@muzalab/easyspot')
{
App: [Function (anonymous)],
Emoji: [Function: t],
EmojiList: [Function: i],
animals: [ 'š³', 'š', 'š¦' ],
faces: [ 'š', 'š
', 'š¤', 'š»', 'šŗ' ],
fruits: [ 'š', 'š', 'š' ],
ping: [Function (anonymous)],
version: '0.0.x'
}
run cli on your machine
$ yarn global add @muzalab/easyspot
yarn global v1.22.19
[1/4] š Resolving packages...
[2/4] š Fetching packages...
[3/4] š Linking dependencies...
[4/4] šØ Building fresh packages...
success Installed "@muzalab/easyspot@0.0.4" with binaries:
- easyspot
āØ Done in 8.28s.
$ easyspot
$ easyspot --help
easyspot <cmd> [args]
Commands:
easyspot hello [name] To run etherspot p2p payment
tests
Options:
--version Show version number
--help Show help
$ easyspot hello ming
hello ming welcome to yargs!