arya-jarvis
Arya Jarvis: Designed to save developers more time and energy.
Last updated 2 months ago by nicejade .
ISC · Original npm · Tarball · package.json
$ cnpm install arya-jarvis 
SYNC missed versions from official npm registry.

ARYA JARVIS

Designed to save developers more time and energy

Node Version LICENSE Prettier Arya Jarvis Arya Jarvis Author nicejade

English | 中文

Goal and Philosophy

The ideal goal is to help us deal with things that can be more precise in the simplest way. Arya Jarvis is an attempt to do this, it designed to save developers more time and energy.

Prerequisites

Node.js (>= 8.*), Npm version 5+ (Yarn preferred).

Install

npm i arya-jarvis -g
# Or
yarn global add arya-jarvis

Usage

The following two functions can support multiple format files, such as: .js, .vue, .ux, .less, .scss, .css, .json, .md, .html, .qxml, .wxml.

???? Prettier the code under the specified path.

arya prettier index.js
# ???? Or Use Alias
arya p ./src/**/**/*.js
# ???????? Or Use Alias & Wildcard
arya p .

???? Listen for code changes in the specified path and prettier them.

arya watcher index.js
# ???? Or Use Alias
arya w ./src/**/**/*.js
# ???????? Or Use Alias & Wildcard
arya w .

It is worth mentioning that the code formatting of this project is handled by arya w .. Thanks to myself for developing this arya jarvis in my spare time, I am super like it.

???? Used to quickly build a local web server.

arya server
# ???? Or Use Alias
arya s

???? One-click preview of the specified Markdown file

arya markdown README.md
arya markdown ./nice-project/README.md
# ???? Or Use Alias
arya m README.md
Watcher (-w , --watch)

By default, the Markdown file you specify will not be listened. You can enable the monitor function by adding the -w option to refresh your preview page in real time. See the example below:

arya markdown README.md -w
arya markdown README.md --watch

⚡️ Find your local IP address and print it.

arya ip

???? View programs that occupy the specified port.

arya port 8080

✂️ Clear the terminal screen if possible

arya clear
# Or
arya c

On Mac OS, if you want to implement this function, you can run the clear command on the terminal; but this is not particularly convenient; you can use oh-my-zsh to configure the command alias in the .zshrc file: alias cls= 'clear'; in this case, running cls is enough to clear the terminal screen content; and this is another case on Windows systems; in this case, using arya c is a pretty good choice.

???? List the script commands in package.json.

arya ls
# ???? Or Use Alias
arya l

In addition, arya jarvis is still implanting more useful features, if you have any needs, you can tell me, or expand on this basis. If you encounter any problems during use, you can always follow me feedback. Wish: Life is happy and work is well.

Recommended links

License

MIT

Copyright (c) 2019-present, nicejade.

Current Tags

  • 1.9.2                                ...           latest (2 months ago)

19 Versions

  • 1.9.2                                ...           2 months ago
  • 1.9.1                                ...           2 months ago
  • 1.9.0                                ...           2 months ago
  • 1.8.0                                ...           2 months ago
  • 1.7.0                                ...           2 months ago
  • 1.6.0                                ...           2 months ago
  • 1.5.0                                ...           3 months ago
  • 1.4.3                                ...           3 months ago
  • 1.4.2                                ...           3 months ago
  • 1.4.1                                ...           3 months ago
  • 1.4.0                                ...           3 months ago
  • 1.3.3                                ...           3 months ago
  • 1.3.2                                ...           3 months ago
  • 1.3.1                                ...           3 months ago
  • 1.3.0                                ...           3 months ago
  • 1.2.0                                ...           3 months ago
  • 1.1.1                                ...           3 months ago
  • 1.1.0                                ...           3 months ago
  • 1.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 37
Dependencies (15)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |