npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

jiji-cli

v0.0.27

Published

simple CLI for jiji-js

Downloads

20

Readme

Installation

npm install -g jiji-cli

Usage

ji [command] [options]
ji --help
ji new

[command]

  • ji new - create new application
  • ji debug - start server in default 8080 port with application pre-builded
  • ji build - build your application to dist directory
  • ji generate [type] - command for generate controller or index
    • ji generate controller [controller name] - command for generate new controller
    • ji generate index [index name] - command for generate new index

--help|-h

Show help

Examples

ji new

Use for create sample application :

$ ji new 
Which project name? : jiji-start
[1] Browser
[2] Mobile
[0] CANCEL
Which platform? [1, 2, 0]: 1
CREATE jiji-start/jiconfig.json (440 bytes)
CREATE jiji-start/package.json (3992 bytes)
CREATE jiji-start/README.md (152 bytes)
CREATE jiji-start/src/favicon.ico (34288 bytes)
CREATE jiji-start/src/home/home.controller.js (4104 bytes)
CREATE jiji-start/src/home/home.html.js (20576 bytes)
CREATE jiji-start/src/index.html (25472 bytes)
CREATE jiji-start/src/index.js (2096 bytes)
CREATE jiji-start/src/public/icon/codersrank.svg (6080 bytes)
CREATE jiji-start/src/public/icon/github.svg (6784 bytes)
CREATE jiji-start/src/public/icon/instacart.svg (4840 bytes)
CREATE jiji-start/src/public/jiji-js.png (460656 bytes)
CREATE jiji-start/src/public/logo.png (4728 bytes)
CREATE jiji-start/src/style.css (159744 bytes)
✔ Packages installed successfully.
✔ Successfully initialized.
$ cd jiji-start

ji debug

Use for debug :

$ ji debug
Start build before starting debug server
----------------------------------------
App listening at http://localhost:8080

Go to http://localhost:8080

ji build

Use for build application :

$ ji build
Start build
----------------------------------------
Build Finished.
$ ls -la dist
total 96
drwxr-xr-x   7 jeremyguyet  staff    224 11 nov 04:39 .
drwxr-xr-x  12 jeremyguyet  staff    384 11 nov 04:39 ..
-rw-r--r--   1 jeremyguyet  staff  14149 11 nov 04:39 WNDIjwXd7PUFcEmarIhkXbav9vPLyQqY.js
-rw-r--r--   1 jeremyguyet  staff   4286 11 nov 04:39 favicon.ico
-rw-r--r--   1 jeremyguyet  staff   3236 11 nov 04:39 index.html
drwxr-xr-x   6 jeremyguyet  staff    192 11 nov 04:39 public
-rw-r--r--   1 jeremyguyet  staff  19968 11 nov 04:39 yGiszU55qkH8jeX8Rnb2bYotYQGHgozX.css

ji generate controller example

$ ji generate controller example
CREATE Controller /Users/jeremyguyet/project/jiji-js.io/src/example/example.controller.js
CREATE View /Users/jeremyguyet/project/jiji-js.io/src/example/example.html.js
UPDATE Index /Users/jeremyguyet/project/jiji-js.io/src/index.js
Controller example CREATED

The name of the controller can be a path During the controller generation you can add --index options for generate in same time an index in side controller generated.

ji generate index toto

$ ji generate index toto
CREATE Index /Users/jeremyguyet/project/jiji-js.io/src/toto/toto.index.js
UPDATE Index /Users/jeremyguyet/project/jiji-js.io/src/index.js
Index toto CREATED

License

MIT